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.

A081677 Numbers n such that 2*10^n + 3 is prime.

Original entry on oeis.org

0, 1, 3, 5, 6, 7, 12, 16, 17, 22, 24, 35, 115, 120, 358, 1488, 1819, 4679, 9821, 27217, 27693, 194413
Offset: 1

Views

Author

Robert G. Wilson v, Mar 26 2003

Keywords

Comments

a(22) > 10^5. - Robert Price, Nov 16 2014
a(23) > 2*10^5. - Robert Price, Jul 11 2015

Examples

			2+3 is prime, so are 23, 2003, 200003, 2000003, 20000003,2000000000003, etc. which are all of the form 2*10^n +3.
		

References

  • Mark A. Herkommer, Number Theory, A Programmer's Guide, McGraw-Hill, New York, 1999, page 51.

Crossrefs

Cf. A101951.

Programs

  • Magma
    [n: n in [0..500] | IsPrime(2*10^n+3)]; // Vincenzo Librandi, Nov 17 2014
    
  • Mathematica
    Do[ If[ PrimeQ[2*10^n + 3], Print[n]], {n, 0, 10000}]
    Select[Range[0, 1000], PrimeQ[(2 10^# + 3)] &] (* Vincenzo Librandi, Nov 17 2014 *)
  • PARI
    is(n)=isprime(2*10^n+3) \\ Charles R Greathouse IV, Feb 17 2017

Formula

a(n) = A101951(n-1) + 1.

Extensions

More terms from Robert G. Wilson v, Jan 18 2005
a(20)-a(21) from Kamada data by Robert Price, Dec 09 2010
a(22) from Robert Price, Jul 11 2015

A173041 a(n) = 2*10^n + 3.

Original entry on oeis.org

5, 23, 203, 2003, 20003, 200003, 2000003, 20000003, 200000003, 2000000003, 20000000003, 200000000003, 2000000000003, 20000000000003, 200000000000003, 2000000000000003, 20000000000000003, 200000000000000003
Offset: 0

Views

Author

Vincenzo Librandi, Feb 08 2010

Keywords

Crossrefs

Cf. A081677 (numbers n such that 2*10^n + 3 is prime), A101951 (numbers n such that 20*10^n + 3 is prime). - Klaus Brockhaus, Feb 28 2010

Programs

  • Magma
    [2*10^n + 3: n in [0..20]]; // Vincenzo Librandi, Apr 05 2013
  • Mathematica
    CoefficientList[Series[(5 - 32 x)/((1 - x) (1 - 10 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Apr 05 2013 *)
    Table[2*10^n+3,{n,0,20}] (* Harvey P. Dale, Jun 01 2019 *)

Formula

G.f.: (5-32*x)/((1-x)*(1-10*x)). - Vincenzo Librandi, Apr 05 2013

A177134 Primes of the form 2*10^k + 3.

Original entry on oeis.org

5, 23, 2003, 200003, 2000003, 20000003, 2000000000003, 20000000000000003, 200000000000000003, 20000000000000000000003, 2000000000000000000000003, 200000000000000000000000000000000003
Offset: 1

Views

Author

Vincenzo Librandi, Dec 10 2010

Keywords

Crossrefs

Programs

  • Magma
    [ a: n in [0..250] | IsPrime(a) where a is 2*10^n + 3 ];

Formula

a(n) = A173041(A081677(n)).
Showing 1-3 of 3 results.