login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108836 Primes such that the outer 2 digits are n and n-1 and all inner digits are 8, where 0 < n < 9. 0
281, 887, 8887, 48883, 888887, 888888887, 48888888883, 888888888887, 2888888888881, 4888888888883, 48888888888883, 2888888888888888888888888881, 48888888888888888888888888888888888888883 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Sort[Select[Flatten[Table[FromDigits[Join[{n}, PadRight[{}, k, 8], {n-1}]], {n, 2, 8, 2}, {k, 50}]], PrimeQ]] (* Harvey P. Dale, Mar 08 2023 *)
PROG
(PARI) n10np1(n, d) = { local(x, y, k); for(x=1, n, for(k=1, 8, y=10^(x+1)*k+floor(10^x*d/9)*10+k-1; if(isprime(y), print1(y", ")) ) ) }
CROSSREFS
Sequence in context: A163184 A122710 A161191 * A295983 A264150 A289543
KEYWORD
easy,nonn,base
AUTHOR
Cino Hilliard, Jul 11 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)