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.

A113890 Smallest prime of the form: all eights followed by prime(n). a(n)> prime(n). 0 if no such prime exists.

Original entry on oeis.org

0, 83, 0, 887, 811, 88813, 88817, 8819, 823, 829, 8831, 8837, 88888841, 88843, 88888888888888888888888888888847, 853, 859, 8861, 8867, 888871, 88873, 88888879, 883, 88888888888889, 88897, 8101, 888103, 8888107, 888109
Offset: 1

Views

Author

Amarnath Murthy, Nov 18 2005

Keywords

Comments

Prime(n) is all zeros followed by prime(n). This is all eights followed by prime(n). Conjecture: a(n) is nonzero if n > 3.

Examples

			a(4) = 887, as 87 is composite, prime(4) = 7.
		

Crossrefs

Programs

  • Maple
    cat2 := proc(a,b) a*10^(max(1,ilog10(b)+1))+b ; end: A002282 := proc(n) 8*(10^n-1)/9 ; end: A113890 := proc(n) local p,a,n8 ; p := ithprime(n) ; for n8 from 1 to 120 do a := cat2(A002282(n8),p) ; if isprime(a) then return(a) ; fi ; od: RETURN(0) ; end: seq(A113890(n),n=1..35) ; # R. J. Mathar, Jan 31 2008

Extensions

More terms from R. J. Mathar, Jan 31 2008

A113891 Smallest prime of the form: all nines followed by prime(n) with a(n) > prime(n); or 0 if no such prime exists.

Original entry on oeis.org

0, 0, 0, 97, 911
Offset: 1

Views

Author

Amarnath Murthy, Nov 18 2005

Keywords

Comments

The next term is too large to include.
The sequence continues 10^1800 - 87, 999917, 919, 9923, 929, 9931, 937, 941, 9999943, 947, 953, 999959, 99961, 967, 971, ... - Sean A. Irvine, Feb 21 2010

Examples

			a(4) = 97, prime(4) = 7.
		

Crossrefs

Showing 1-2 of 2 results.