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!)
A013634 a(n) = nextprime(n) + n. 1

%I

%S 2,3,5,8,9,12,13,18,19,20,21,24,25,30,31,32,33,36,37,42,43,44,45,52,

%T 53,54,55,56,57,60,61,68,69,70,71,72,73,78,79,80,81,84,85,90,91,92,93,

%U 100,101,102,103,104,105,112,113,114,115,116,117,120,121,128,129,130

%N a(n) = nextprime(n) + n.

%H Vincenzo Librandi, <a href="/A013634/b013634.txt">Table of n, a(n) for n = 0..5000</a>

%F a(n) = A151800(n) + n.

%p [ seq(nextprime(i)+i,i=0..100) ];

%t Table[n+NextPrime[n],{n,0,120}] (* _Harvey P. Dale_, May 03 2013 *)

%t Array[NextPrime[#] + # &, 80, 0] (* _Vincenzo Librandi_, Dec 27 2018 *)

%o (MAGMA) [NextPrime(n) + n: n in [0..80]]; // _Vincenzo Librandi_, Dec 27 2018

%Y Cf. A013632, A151800.

%K nonn

%O 0,1

%A _N. J. A. Sloane_.

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 April 8 08:39 EDT 2020. Contains 333313 sequences. (Running on oeis4.)