A236572 Value of y for solution of 5^n = x^2 + y^2 with closest x and y (n >= 0, 0 <= x < y).
1, 2, 4, 10, 20, 41, 100, 205, 500, 1025, 2500, 5125, 11753, 25625, 58765, 128125, 293825, 640625, 1469125, 3203125, 7345625, 16015625, 34867797, 80078125, 174338985, 400390625, 871694925, 2001953125, 4358474625, 10009765625, 21792373125, 50048828125
Offset: 0
Keywords
Programs
-
Mathematica
m = 30; Join[{1,2},Table[Reduce[{5^n== x^2+y^2,0 ≤ x ≤ y}, {x,y}, Integers][[-1,1,2]],{n,2,m}]]
Comments