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-3 of 3 results.

A085418 Primes reached in A085417.

Original entry on oeis.org

3, 5, 17, 11, 29, 19, 41, 127, 53, 89, 67, 107, 83, 277, 113, 233, 113, 79, 127, 157, 139, 101, 181, 113, 293, 127, 313, 257, 199, 239, 223, 163, 239, 173, 257, 467, 271, 541, 461, 383, 349, 223, 563, 787, 383, 389, 1021, 271, 647, 1489, 389, 509, 1789, 773, 983
Offset: 1

Views

Author

Zak Seidov, Jun 30 2003

Keywords

Examples

			a(3)=17 because prime[3]=5 and 5+(3+4+5)=17 is a prime.
		

Crossrefs

A085415 Take prime[n] and continue adding 1, 2, ..., a(n) until one reaches a prime.

Original entry on oeis.org

1, 4, 3, 3, 3, 3, 3, 4, 3, 12, 3, 3, 3, 4, 3, 3, 12, 3, 3, 8, 3, 4, 3, 12, 3, 3, 3, 3, 7, 8, 4, 3, 8, 4, 12, 3, 3, 4, 3, 3, 12, 4, 3, 3, 8, 7, 7, 3, 3, 4, 3, 12, 4, 3, 3, 3, 12, 3, 3, 8, 4, 11, 3, 3, 8, 8, 3, 4, 3, 4, 3, 15, 3, 3, 4, 3, 12, 8, 11, 4, 24, 4, 8, 3, 4, 3, 15, 3, 3, 7, 8, 12, 8, 11, 4, 3, 12, 8
Offset: 1

Views

Author

Zak Seidov, Jun 29 2003

Keywords

Comments

Resulting primes in A085416. See also A085417, A085418.
Prime[n] plus a triangular number is prime. - Harvey P. Dale, Jun 12 2013

Examples

			a(2)=4 because prime[2]+(1+2+3+4)=3+10=13 is a prime
		

Crossrefs

Programs

  • Mathematica
    Flatten[(Sqrt[1+8#]-1)/2&/@With[{trnos=Accumulate[Range[30]]}, Table[ Select[ trnos,PrimeQ[Prime[n]+#]&,1],{n,100}]]] (* Harvey P. Dale, Jun 12 2013 *)

Formula

Prime[n]+m*(1+m)/2 is a prime for some m>0.

A085416 Take prime[n] and continue adding 1,2,..., A085415(n) until one reaches a prime a(n).

Original entry on oeis.org

3, 13, 11, 13, 17, 19, 23, 29, 29, 107, 37, 43, 47, 53, 53, 59, 137, 67, 73, 107, 79, 89, 89, 167, 103, 107, 109, 113, 137, 149, 137, 137, 173, 149, 227, 157, 163, 173, 173, 179, 257, 191, 197, 199, 233, 227, 239, 229, 233, 239, 239, 317, 251, 257, 263, 269, 347
Offset: 1

Views

Author

Zak Seidov, Jun 29 2003

Keywords

Comments

Primes resulting in procedure of A085415. See also A085417, A085418.

Examples

			a(2)=13 because prime[2]=3 and 3+(1+2+3+4)=3+10=13 is a prime.
		

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Prime[n]+Accumulate[Range[20]],PrimeQ],{n,60}] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 11 2019 *)
Showing 1-3 of 3 results.