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!)
A096508 Numbers n for which 8*R_n + 1 is prime, where R_n = 11...1 is the repunit (A002275) of length n. 20
2, 14, 17, 35, 4175, 4472, 9812, 12260, 12341, 13760, 14576, 53411, 144683, 148328 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also numbers n such that (8*10^n+1)/9 is prime.
a(15) > 2*10^5. - Robert Price, Sep 06 2014
LINKS
FORMULA
a(n) = A056663(n) + 1.
EXAMPLE
a(4) = 35 means that 88888888888888888888888888888888889 (34 8's) is a prime number.
MAPLE
select(n -> isprime((8*10^n+1)/9), [$1..10000]); # Robert Israel, Sep 07 2014
MATHEMATICA
Do[ If[ PrimeQ[ 8(10^n - 1)/9 + 1], Print[n]], {n, 0, 30000}] (* Robert G. Wilson v, Oct 15 2004 *)
PROG
(PARI)
for(n=1, 10^4, if(ispseudoprime(8*(10^n-1)/9+1), print1(n, ", "))) \\ Derek Orr, Sep 06 2014
CROSSREFS
Sequence in context: A022369 A367461 A278975 * A355169 A108029 A212048
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 12 2004
EXTENSIONS
Added four missing terms (9812, 12260, 12341, 13760), added a(12)-a(14) from Kamada data by Robert Price, Sep 06 2014
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)