Babbage problem

var n = 0
while (n*n % 1000000 != 269696) {
    n += 2
}
say n

Output:

25264

Last updated