cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A166329 Products of squares of 2 successive primes.

Original entry on oeis.org

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

Views

Author

Keywords

Examples

			2^2*3^2 = 36, 3^2*5^2 = 225, 5^2*7^2 = 1225, ..
		

Crossrefs

Programs

  • Magma
    [NthPrime(n)^2*NthPrime(n+1)^2: n in [1..30]]; // Vincenzo Librandi, May 10 2016
  • Mathematica
    Array[Prime[ # ]*Prime[ # ]*Prime[ #+1]*Prime[ #+1]&,5! ]
    Times@@@(Partition[Prime[Range[30]],2,1]^2) (* Harvey P. Dale, Apr 12 2018 *)
  • PARI
    a(n) = prime(n)^2*prime(n+1)^2; \\ Michel Marcus, May 10 2016
    

Formula

a(n) = A006094(n)^2. - Michel Marcus, May 10 2016

Extensions

Edited by N. J. A. Sloane, Oct 13 2009