cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A062736 Primes of form Sum_{k=1..n} (prime(k)+1).

Original entry on oeis.org

3, 7, 13, 47, 109, 139, 251, 397, 457, 587, 659, 733, 1187, 1291, 1399, 2161, 2311, 2621, 2953, 3307, 4073, 4273, 4937, 5167, 5641, 7477, 7759, 10259, 10607, 10957, 11311, 12413, 13177, 13567, 15619, 20639, 23167, 24781, 25339, 25903, 28211
Offset: 1

Views

Author

Jason Earls, Jul 12 2001

Keywords

Comments

Primes of the form A007504(k) + k. - J. M. Bergot, Apr 10 2018

Examples

			a(4) = 47 because 3+4+6+8+12+14 = 47.
		

Crossrefs

Programs

  • Mathematica
    Select[Accumulate[Prime[Range[150]]+1],PrimeQ] (* Harvey P. Dale, May 26 2016 *)
  • PARI
    je=[]; for(n=1,350,x=sum(k=1,n, prime(k)+1); if(isprime(x),je=concat(je,x))); je
    
  • PARI
    { n=a=0; for (k=1, 10^5, if (isprime(a+=prime(k) + 1), write("b062736.txt", n++, " ", a); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 10 2009

Formula

{ A000040 } intersection { A060939 }.

A110895 a(n) = a(n-1) + 1 + prime(n), with a(1) = 1.

Original entry on oeis.org

1, 4, 8, 14, 22, 34, 48, 66, 86, 110, 140, 172, 210, 252, 296, 344, 398, 458, 520, 588, 660, 734, 814, 898, 988, 1086, 1188, 1292, 1400, 1510, 1624, 1752, 1884, 2022, 2162, 2312, 2464, 2622, 2786, 2954, 3128, 3308, 3490, 3682, 3876, 4074, 4274, 4486, 4710
Offset: 1

Views

Author

G. L. Honaker, Jr., Sep 20 2005

Keywords

Comments

The number of integers between a(n) and a(n+1) exclusive equals the n-th prime.

Crossrefs

Cf. A060939.

Programs

  • Mathematica
    RecurrenceTable[{a[n]==a[n-1]+Prime[n]+1,a[0]==1},a,{n,50}]  (* Harvey P. Dale, Apr 22 2011 *)

Formula

a(n) = A060939(n-1) + 1. - Alan Michael Gómez Calderón, Dec 16 2024

Extensions

More terms from Harvey P. Dale, Apr 22 2011
Showing 1-2 of 2 results.