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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A247380 First differences of A117495. 2
3, 7, 11, 23, 21, 37, 31, 51, 77, 49, 97, 85, 67, 99, 137, 149, 93, 169, 143, 111, 199, 167, 221, 281, 197, 153, 211, 163, 225, 533, 251, 323, 203, 479, 219, 367, 379, 315, 401, 413, 261, 601, 277, 369, 287, 751, 775, 415, 325, 429, 539, 343, 771, 575, 587, 599 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Alois P. Heinz, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = A117495(n+1) - A117495(n).

MAPLE

with(numtheory):

a:= n-> ithprime(n+1)*n-ithprime(n)*(n-1):

seq(a(n), n=1..60);  # Alois P. Heinz, Sep 15 2014

PROG

(PARI) a(n)=my(p=prime(n++)); p+n*(nextprime(p+1)-p) \\ Charles R Greathouse IV, Sep 15 2014

CROSSREFS

Cf. A000040, A117495.

Sequence in context: A028831 A244572 A137516 * A187265 A187266 A187267

Adjacent sequences:  A247377 A247378 A247379 * A247381 A247382 A247383

KEYWORD

easy,nonn

AUTHOR

Odimar Fabeny, Sep 15 2014

EXTENSIONS

More terms from Alois P. Heinz, Sep 15 2014

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 June 17 19:10 EDT 2019. Contains 324198 sequences. (Running on oeis4.)