login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A230710 Values of x such that x^2 + y^2 = 5^n with x and y coprime and 0 < x < y. 9
1, 3, 2, 7, 38, 44, 29, 336, 718, 237, 2642, 10296, 8839, 16124, 108691, 164833, 24478, 922077, 2521451, 1476984, 6699319, 34182196, 35553398, 32125393, 306268562, 597551756, 130656229, 2465133864, 8701963882, 6890111163, 15949374758, 98248054847, 135250416961 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The corresponding y-values are in A230711.
For all non-coprime solutions (x,y) to the equation x^2 + y^2 = p^n, x and y are both divisible by the prime p.
Using de Moivre's Theorem (in essence), define (c,d)*(e,f) as (ce-df,cf+de). Then a(n) = min{|u(n)|, |v(n)|}, where (u(n),v(n)) = (2,1)^n = (2,1)*(2,1)^[n-1]. Proof: It can be readily seen that u^2(n) + v^2(n) = 5^n. To show that u(n) and v(n) are relatively prime, assume that x,y are relatively prime. Then (2,1)*(x,y) = (2x-y, x+2y). If a prime p were to divide both of 2x-y and x+2y, then p would divide 5y, so p=5. Now suppose x == 2 (mod 5) and y == 1 (mod 5). It can be seen that 2x-y == -2 (mod 5) and x+2y == -1 (mod 5). The reverse also holds. Because u(1)=2 and v(1)=1, the result follows inductively. - Richard Peterson, May 21 2021
LINKS
Chris Busenhart, Lorenz Halbeisen, Norbert Hungerbühler, and Oliver Riesen, On primitive solutions of the Diophantine equation x^2+ y^2= M, Eidgenössische Technische Hochschule (ETH Zürich, Switzerland, 2020).
EXAMPLE
a(4)=7 because 7^2 + 24^2 = 625 = 5^4.
MATHEMATICA
Table[Select[PowersRepresentations[5^n, 2, 2], CoprimeQ[#[[1]], #[[2]]] &][[1, 1]], {n, 33}] (* T. D. Noe, Nov 04 2013 *)
CROSSREFS
Cf. A139011.
Sequence in context: A100985 A176802 A363400 * A265009 A358656 A021757
KEYWORD
nonn
AUTHOR
Colin Barker, Oct 28 2013
EXTENSIONS
Typo in data fixed by Colin Barker, Nov 02 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)