login
A166329
Products of squares of 2 successive primes.
8
36, 225, 1225, 5929, 20449, 48841, 104329, 190969, 444889, 808201, 1315609, 2301289, 3108169, 4084441, 6205081, 9778129, 12952801, 16703569, 22629049, 26863489, 33258289, 42994249, 54567769, 74528689, 95981209, 108222409
OFFSET
1,1
LINKS
FORMULA
a(n) = A006094(n)^2. - Michel Marcus, May 10 2016
EXAMPLE
2^2*3^2 = 36, 3^2*5^2 = 225, 5^2*7^2 = 1225, ..
MATHEMATICA
Array[Prime[ # ]*Prime[ # ]*Prime[ #+1]*Prime[ #+1]&, 5! ]
Times@@@(Partition[Prime[Range[30]], 2, 1]^2) (* Harvey P. Dale, Apr 12 2018 *)
PROG
(PARI) a(n) = prime(n)^2*prime(n+1)^2; \\ Michel Marcus, May 10 2016
(Magma) [NthPrime(n)^2*NthPrime(n+1)^2: n in [1..30]]; // Vincenzo Librandi, May 10 2016
CROSSREFS
Sequence in context: A237252 A017234 A112474 * A264522 A297656 A268794
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Edited by N. J. A. Sloane, Oct 13 2009
STATUS
approved