login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A236571
Value of x for solution of 5^n = x^2 + y^2 with closest x and y (n >= 0, 0 <= x < y).
1
0, 1, 3, 5, 15, 38, 75, 190, 375, 950, 1875, 4750, 10296, 23750, 51480, 118750, 257400, 593750, 1287000, 2968750, 6435000, 14843750, 34182196, 74218750, 170910980, 371093750, 854554900, 1855468750, 4272774500, 9277343750, 21363872500, 46386718750
OFFSET
0,3
COMMENTS
Corresponding values of y: 1,2,4,10,20,41,100,205,500,1025,2500,5125,11753,25625,58765 (A236572).
MATHEMATICA
m = 30; Join[{0, 1}, Table[Reduce[{5^n == x^2+y^2, 0 ≤ x ≤ y}, {x, y}, Integers][[-1, 1, 2]], {n, 2, m}]]
CROSSREFS
Sequence in context: A138017 A280764 A148503 * A145939 A161703 A018551
KEYWORD
nonn
AUTHOR
Zak Seidov, Jan 29 2014
STATUS
approved