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!)
A291542 a(n) = prime(n)^3 - prime(n) * prime(n^2). 7
4, 6, 10, -28, 264, 234, 1054, 950, 2530, 8700, 9300, 20054, 27552, 28208, 36754, 63070, 94518, 96258, 137484, 163300, 163958, 219620, 256138, 330190, 462884, 520150, 524270, 582294, 588600, 652236, 1086612, 1179000, 1374384, 1387220, 1828230, 1838274, 2092496, 2366760, 2529382, 2842390 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Same as prime(n) * A123914(n). See A123914 for other comments and formulas.
All terms are even.
For prime(n)^3 - prime(n^3) see A262199.
For prime(n) * prime(n^2) - prime(n^3) see A291541.
For PrimePi(n) * PrimePi(n^2) - PrimePi(n)^3 see A291540.
LINKS
FORMULA
a(n) + A291541(n) = A262199(n).
EXAMPLE
a(4) = prime(4)^3 - prime(4) * prime(16) = 7^3 - 7*53 = -28.
MAPLE
seq(ithprime(n)^3 - ithprime(n)*ithprime(n^2), n=1..100); # Robert Israel, Sep 11 2017
MATHEMATICA
Table[ Prime[n]^3 - Prime[n] * Prime[n^2], {n, 40}]
PROG
(PARI) a(n) = prime(n)^3 - prime(n) * prime(n^2); \\ Michel Marcus, Sep 10 2017
CROSSREFS
Sequence in context: A131867 A252656 A322961 * A242565 A032392 A253048
KEYWORD
sign
AUTHOR
Jonathan Sondow, Aug 25 2017
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 April 23 05:37 EDT 2024. Contains 371906 sequences. (Running on oeis4.)