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

A056807 Numbers k such that 3*10^k + 1 is prime.

Original entry on oeis.org

1, 3, 7, 10, 28, 36, 67, 81, 147, 483, 643, 1020, 1900, 2620, 10453, 27720, 52824, 105589, 111988, 618853, 665829
Offset: 1

Views

Author

Robert G. Wilson v, Aug 22 2000

Keywords

Examples

			k = 3 gives (3*10^3+1) = 3000+1 = 3001, which is prime.
		

Crossrefs

Programs

  • Mathematica
    Do[ If[ PrimeQ[ 3*10^k + 1], Print[ k ]], {k, 0, 20000}]
  • PARI
    is(k)=isprime(3*10^k+1) \\ Charles R Greathouse IV, Feb 17 2017

Formula

a(n) = A101823(n) + 1.

Extensions

a(13)-a(14) from Julien Peter Benney (jpbenney(AT)ftml.net), Nov 23 2004
a(15) from Hugo Pfoertner, Jan 18 2005
a(16)-a(17) from Robert G. Wilson v, Jan 18 2005
a(18) from Roman Makarchuk, Dec 05 2008 confirmed as next term by Ray Chandler, Mar 02 2012
a(19) from Alexander Gramolin, Feb 24 2012 confirmed as next term by Ray Chandler, Mar 02 2012
a(20)-a(21) from Kamada data by Robert Price, Jan 26 2015
Showing 1-1 of 1 results.