The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A247380 First differences of A117495. 2

%I #14 Sep 15 2014 15:54:24

%S 3,7,11,23,21,37,31,51,77,49,97,85,67,99,137,149,93,169,143,111,199,

%T 167,221,281,197,153,211,163,225,533,251,323,203,479,219,367,379,315,

%U 401,413,261,601,277,369,287,751,775,415,325,429,539,343,771,575,587,599

%N First differences of A117495.

%H Alois P. Heinz, <a href="/A247380/b247380.txt">Table of n, a(n) for n = 1..10000</a>

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

%p with(numtheory):

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

%p seq(a(n), n=1..60); # _Alois P. Heinz_, Sep 15 2014

%o (PARI) a(n)=my(p=prime(n++)); p+n*(nextprime(p+1)-p) \\ _Charles R Greathouse IV_, Sep 15 2014

%Y Cf. A000040, A117495.

%K easy,nonn

%O 1,1

%A _Odimar Fabeny_, Sep 15 2014

%E More terms from _Alois P. Heinz_, Sep 15 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 19 03:32 EDT 2024. Contains 376004 sequences. (Running on oeis4.)