The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A159298 Numbers k such that k * 10^k * (10^k - 1)/9 + 1 is prime. 0
1, 5, 44, 56, 187, 192, 206, 16561 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
There are no more terms up to k = 4000 (cf. link).
There are no more terms up to k = 14600. - Jason Earls, Nov 30 2009
REFERENCES
J. Earls, Mathematical Bliss, Pleroma Publications, 2009, page 55. ASIN: B002ACVZ6O [From Jason Earls, Nov 22 2009]
LINKS
EXAMPLE
For k=5, k * 10^k * (10^k - 1)/9 + 1 is the prime 5555500001, so 5 is a term.
PROG
(Magma) [ x[1]: x in [ < n, Integers()!(n*10^n*(10^n - 1)/9 + 1) >: n in [1..186] ] | IsPrime(x[2]) ];
(PARI) is(n)=ispseudoprime(n*10^n*(10^n-1)/9+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A002275 (repunits: (10^n - 1)/9).
Sequence in context: A080284 A193458 A071861 * A262118 A173376 A364605
KEYWORD
nonn,more
AUTHOR
Lekraj Beedassy, Apr 09 2009
EXTENSIONS
Edited by Klaus Brockhaus, Apr 11 2009
a(8) from Herman Jamke (hermanjamke(AT)fastmail.fm), Oct 03 2010
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 May 21 05:34 EDT 2024. Contains 372728 sequences. (Running on oeis4.)