RosettaCodeData/Task/Babbage-problem/Icon/babbage-problem.icon

6 lines
130 B
Text
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
procedure main(A)
tail := \A[1] | 269696
size := 10^*tail
if ((n := seq())^2 % size) = tail then write(n," -> ",n^2)
end