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!)
A138408 a(n) = prime(n)^6 - prime(n). 4
62, 726, 15620, 117642, 1771550, 4826796, 24137552, 47045862, 148035866, 594823292, 887503650, 2565726372, 4750104200, 6321363006, 10779215282, 22164361076, 42180533582, 51520374300, 90458382102, 128100283850 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A030516(n) - A000040(n). - Elmo R. Oliveira, Jan 28 2023
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, p^6 - p], {n, 1, 50}]; a
#^6-#&/@Prime[Range[20]] (* Harvey P. Dale, Jun 09 2013 *)
PROG
(PARI) forprime(p=2, 1e3, print1(p^6-p", ")) \\ Charles R Greathouse IV, Jun 16 2011
(Magma) [NthPrime((n))^6 - NthPrime((n)): n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011
CROSSREFS
Sequence in context: A286212 A196413 A131473 * A234482 A157499 A249235
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 February 28 13:34 EST 2024. Contains 370400 sequences. (Running on oeis4.)