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!)
A262199 a(n) = prime(n)^3 - prime(n^3). 8
6, 8, 22, 32, 640, 876, 2604, 3188, 6648, 16470, 18834, 35900, 49518, 54698, 72504, 110004, 157722, 169422, 231732, 276112, 292880, 380748, 441714, 555252, 741144, 835258, 871866, 976192, 1015598, 1130314, 1700676, 1861998, 2144184 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Commutator of (primes, cubes) at n.
All terms are even. For PrimePi(n^3) - PrimePi(n)^3 see A291538. - Jonathan Sondow, Sep 10 2017
LINKS
FORMULA
a(n) = A030078(n) - A055875(n).
a(n) = A291542(n) + A291541(n). - Jonathan Sondow, Sep 10 2017
EXAMPLE
For n = 2, a(n) = prime(n)^3 - prime(n^3) = 3^3 - 19 = 8.
MATHEMATICA
Table[Prime[n]^3 - Prime(n^3), {n, 40}] (* Alonso del Arte, Sep 14 2015 *)
PROG
(PARI) a(n) = prime(n)^3 - prime(n^3);
vector(35, n, a(n))
(Magma) [NthPrime(n)^3 - NthPrime(n^3): n in [1..40]]; // Vincenzo Librandi, Sep 15 2015
CROSSREFS
Sequence in context: A343759 A024306 A024868 * A276226 A034761 A085796
KEYWORD
nonn,easy
AUTHOR
Altug Alkan, Sep 14 2015
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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)