login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108819 Primes such that the outer 2 digits are n and n+1 and all inner digits are 2, where 0 < n < 9. 0
223, 829, 822229, 22222223, 822222229, 22222222223, 62222222222227, 822222222222229, 222222222222222222222222222222222223, 82222222222222222222222222222222222222222222222222222229 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

a(x) = 10^(x+1)*n+floor(10^x*2/9)*10+n+1. Output if a(x) is prime.

PROG

(PARI) n10np1(n) = { local(x, y, k); for(x=1, n, for(k=1, 8, y=10^(x+1)*k+floor(10^x*2/9)*10+k+1; if(isprime(y), print1(y", ")) ) ) }

CROSSREFS

Sequence in context: A142773 A096660 A094459 * A158226 A205273 A205266

Adjacent sequences:  A108816 A108817 A108818 * A108820 A108821 A108822

KEYWORD

easy,nonn,base

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jul 11 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 08:34 EST 2012. Contains 205998 sequences.