login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A262186 a(n) = prime(n)^3 - n^3. 0
7, 19, 98, 279, 1206, 1981, 4570, 6347, 11438, 23389, 28460, 48925, 66724, 76763, 100448, 144781, 200466, 221149, 293904, 349911, 379756, 482391, 559620, 691145, 897048, 1012725, 1073044, 1203091, 1270640, 1415897, 2018592, 2215323 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Obviously, a(n) is not a prime number if n > 2.

LINKS

Table of n, a(n) for n=1..32.

FORMULA

a(n) = A030078(n) - A000578(n).

MATHEMATICA

Array[Prime[#]^3 - #^3 &, {32}] (* Michael De Vlieger, Sep 14 2015 *)

PROG

(PARI) a(n) = prime(n)^3 - n^3;

vector (30, n, a(n))

(MAGMA) [NthPrime(n)^3 - n^3: n in [1..40]]; // Vincenzo Librandi, Sep 15 2015

CROSSREFS

Cf. A030078, A000578.

Cf. A014689, A106588.

Sequence in context: A245489 A084603 A088883 * A026574 A240150 A091149

Adjacent sequences:  A262183 A262184 A262185 * A262187 A262188 A262189

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 March 25 15:02 EDT 2019. Contains 321470 sequences. (Running on oeis4.)