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!)
A138409 a(n) = prime(n)^6 - prime(n)^2. 8
60, 720, 15600, 117600, 1771440, 4826640, 24137280, 47045520, 148035360, 594822480, 887502720, 2565725040, 4750102560, 6321361200, 10779213120, 22164358320, 42180530160, 51520370640, 90458377680, 128100278880 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
From Elmo R. Oliveira, Jan 17 2023: (Start)
a(n) = A030516(n) - A001248(n).
a(n) = 2 * A138441(n).
a(n) = A001248(n) * (A030514(n) - 1). (End)
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, p^6 - p^2], {n, 1, 50}]; a
#^6-#^2&/@Prime[Range[20]] (* Harvey P. Dale, Jul 04 2023 *)
PROG
(PARI) forprime(p=2, 1e3, print1(p^6-p^2", ")) \\ Charles R Greathouse IV, Jun 16 2011
(Magma) [NthPrime((n))^6 - NthPrime((n))^2: n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011
CROSSREFS
Sequence in context: A136008 A000555 A034865 * A024016 A348583 A349871
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 April 23 14:15 EDT 2024. Contains 371914 sequences. (Running on oeis4.)