login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A271182 a(n) = prime(n)^(2*n) - prime(n)^(n-1). 1
3, 78, 15600, 5764458, 25937409960, 23298084751188, 168377826535263360, 288441413566727295942, 3244150909895169974315088, 176994576151109738690640664532, 645590698195138072217104753157760, 43335257111193343900187118461545288548 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

FORMULA

a(n) = sigma(prime(n)^n) * phi(prime(n)^n) = A062354(A062457(n)).

MAPLE

A271182:=n->ithprime(n)^(2*n)-ithprime(n)^(n-1): seq(A271182(n), n=1..15);

MATHEMATICA

Table[Prime[n]^(2*n) - Prime[n]^(n - 1), {n, 12}]

PROG

(MAGMA) [NthPrime(n)^(2*n)-NthPrime(n)^(n-1) : n in [1..12]];

(PARI) a(n) = prime(n)^(2*n) - prime(n)^(n-1); \\ Altug Alkan, Apr 07 2016

CROSSREFS

Cf. A000010, A000040, A000203, A062354, A062457.

Sequence in context: A119200 A197888 A301394 * A306817 A306818 A092416

Adjacent sequences:  A271179 A271180 A271181 * A271183 A271184 A271185

KEYWORD

nonn,easy

AUTHOR

Wesley Ivan Hurt, Apr 07 2016

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 September 28 21:22 EDT 2021. Contains 347717 sequences. (Running on oeis4.)