login
This site is supported by donations 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

G. C. Greubel, Table of n, a(n) for n = 1..300

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

Cf. A123914, A030078, A055875. Twice A143680.

Cf. A291538, A291541, A291542.

Sequence in context: A296354 A024306 A024868 * A276226 A034761 A085796

Adjacent sequences:  A262196 A262197 A262198 * A262200 A262201 A262202

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 17 04:09 EDT 2019. Contains 328106 sequences. (Running on oeis4.)