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.

This page as a plain text file.
%I A166329 #14 Sep 08 2022 08:45:48
%S A166329 36,225,1225,5929,20449,48841,104329,190969,444889,808201,1315609,
%T A166329 2301289,3108169,4084441,6205081,9778129,12952801,16703569,22629049,
%U A166329 26863489,33258289,42994249,54567769,74528689,95981209,108222409
%N A166329 Products of squares of 2 successive primes.
%H A166329 G. C. Greubel, <a href="/A166329/b166329.txt">Table of n, a(n) for n = 1..5000</a>
%F A166329 a(n) = A006094(n)^2. - _Michel Marcus_, May 10 2016
%e A166329 2^2*3^2 = 36, 3^2*5^2 = 225, 5^2*7^2 = 1225, ..
%t A166329 Array[Prime[ # ]*Prime[ # ]*Prime[ #+1]*Prime[ #+1]&,5! ]
%t A166329 Times@@@(Partition[Prime[Range[30]],2,1]^2) (* _Harvey P. Dale_, Apr 12 2018 *)
%o A166329 (PARI) a(n) = prime(n)^2*prime(n+1)^2; \\ _Michel Marcus_, May 10 2016
%o A166329 (Magma) [NthPrime(n)^2*NthPrime(n+1)^2: n in [1..30]]; // _Vincenzo Librandi_, May 10 2016
%Y A166329 Cf. A006094, A152241.
%K A166329 nonn,easy
%O A166329 1,1
%A A166329 _Vladimir Joseph Stephan Orlovsky_, Oct 11 2009
%E A166329 Edited by _N. J. A. Sloane_, Oct 13 2009