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!)
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
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
Sequence in context: A028831 A244572 A137516 * A187265 A187266 A187267
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)