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!)
A056703 Numbers n such that 3*10^n - 1 is prime. 1
0, 1, 3, 6, 7, 19, 27, 43, 55, 207, 1311, 3204, 7050, 9439, 26044, 33058, 34507, 49314, 119292 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Also numbers n such that 2*10^n + 9*R_n is prime, where R_n = 11...1 is the repunit (A002275) of length n.
LINKS
MATHEMATICA
Do[ If[ PrimeQ[ 2*10^n + (10^n-1)], Print[n]], {n, 0, 3000}]
Select[Range[200000], PrimeQ[3*10^#-1]&] (* Harvey P. Dale, Sep 29 2012 *)
PROG
(PARI) is(n)=ispseudoprime(3*10^n-1) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
Sequence in context: A333553 A341183 A259256 * A113534 A103831 A217519
KEYWORD
hard,nonn,more
AUTHOR
Robert G. Wilson v, Aug 10 2000
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 01 2008
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 June 21 07:48 EDT 2024. Contains 373541 sequences. (Running on oeis4.)