The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A138402 a(n) = (n-th prime)^4-(n-th prime)^2. 9
12, 72, 600, 2352, 14520, 28392, 83232, 129960, 279312, 706440, 922560, 1872792, 2824080, 3416952, 4877472, 7887672, 12113880, 13842120, 20146632, 25406640, 28392912, 38943840, 47451432, 62734320, 88519872, 104050200, 112540272 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Product_{n>=1} (1 - 1/a(n)) = A065471.
From Amiram Eldar, Nov 22 2022: (Start)
a(n) = A001248(n) * A084920(n).
a(n) = A036689(n) * A036690(n). (End)
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, p^4 - p^2], {n, 1, 50}]; a
#^4-#^2&/@Prime[Range[30]] (* Harvey P. Dale, Sep 19 2018 *)
PROG
(PARI) forprime(p=2, 1e3, print1(p^4-p^2", ")) \\ Charles R Greathouse IV, Jun 16 2011
(PARI) apply(p->p^4-p^2, primes(100)) \\ Charles R Greathouse IV, Apr 17 2015
(Magma) [NthPrime((n))^4 - NthPrime((n))^2: n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011
CROSSREFS
Sequence in context: A126480 A030235 A088166 * A303505 A320660 A367700
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
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 May 24 01:38 EDT 2024. Contains 372768 sequences. (Running on oeis4.)