login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A188982 Even numbers x such that x^2 + y^2 = 13^n with x and y coprime. 3
0, 2, 12, 46, 120, 122, 828, 6554, 28560, 86158, 145668, 246046, 3369960, 17021162, 58317492, 128629846, 13651680, 1590277918, 9719139348, 37641223154, 99498527400, 107655263398, 647549275812, 5284814079046, 23290743888720, 71041880304722, 123471611274972, 182714776311554, 2701419604443960, 13833225534613558, 47880898349909868 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

The y values are in A188983.

This is also the absolute value of the imaginary part of (3+2i)^n, where i = sqrt(-1).

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..183

MATHEMATICA

Table[s = Select[PowersRepresentations[13^n, 2, 2], CoprimeQ @@ # &, 1][[1]]; Select[s, EvenQ][[1]], {n, 0, 30}]

PROG

(MAGMA) [Integers()!Abs(Im((3+2*Sqrt(-1))^n)): n in [0..30]];  // [See comment by T.D. Noe.]  Bruno Berselli, May 26 2011

CROSSREFS

Cf. A158936, A188983.

Sequence in context: A066258 A123771 A046991 * A061990 A006742 A003993

Adjacent sequences:  A188979 A188980 A188981 * A188983 A188984 A188985

KEYWORD

nonn

AUTHOR

T. D. Noe, Apr 14 2011

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 09:36 EDT 2021. Contains 348074 sequences. (Running on oeis4.)