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!)
A108833 Primes such that the outer 2 digits are n and n-1 and all inner digits are 5, where 0 < n < 9. 1
251, 857, 2551, 45553, 255551, 2555551, 45555553, 855555557, 2555555555551, 45555555555555555553, 45555555555555555555555555555555553, 4555555555555555555555555555555555555555555555555555553 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All terms must start with 2, 4, or 8 so that each term ends with 1, 3, or 7. - Harvey P. Dale, Sep 06 2023
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..19 (* All terms with less than 1000 digits. *)
MATHEMATICA
Select[Sort[Flatten[Table[FromDigits[Join[{n}, PadRight[{}, k, 5], {n-1}]], {n, {2, 4, 8}}, {k, 60}]]], PrimeQ] (* Harvey P. Dale, Sep 06 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: A001135 A052232 A179231 * A228672 A339182 A008917
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 August 10 22:52 EDT 2024. Contains 375059 sequences. (Running on oeis4.)