RosettaCodeData/Task/Babbage-problem/Elena/babbage-problem.elena

15 lines
174 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
import extensions;
import system'math;
public program()
{
var n := 1;
2024-03-06 22:25:12 -08:00
until(n.sqr().mod(1000000) == 269696)
2023-07-01 11:58:00 -04:00
{
n += 1
};
console.printLine(n)
}