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!)
A120729 Smallest integer k>0 such that k*10^n + 1 is a semiprime. 0
3, 2, 2, 5, 1, 1, 1, 1, 1, 2, 4, 2, 3, 7, 4, 3, 6, 6, 4, 1, 2, 4, 13, 2, 4, 3, 7, 21, 6, 9, 3, 1, 5, 4, 16, 19, 28, 19, 9, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
The corresponding semiprimes are 4, 21, 201, 5001, 10001, 100001, 100001, 10000001, 2000000001, 40000000001, ... Semiprime analog of A121172.
LINKS
FORMULA
Smallest integer k>0 such that k*10^n + 1 is in A001358.
EXAMPLE
a(0) = 3 because 3*10^0 + 1 = 4 = 2^2 is a semiprime.
a(1) = 2 because 2*10^1 + 1 = 21 = 3*7 is a semiprime.
a(2) = 2 because 2*10^2 + 1 = 201 = 3*67 is a semiprime.
a(3) = 5 because 5*10^3 + 1 = 5001 = 3*1667 is a semiprime.
a(4) = 1 because 1*10^4 + 1 = 10001 = 73*137 is a semiprime.
a(5) = 1 because 1*10^5 + 1 = 100001 = 11*9091 is a semiprime.
MATHEMATICA
sik[n_]:=Module[{k=1, c=10^n}, While[PrimeOmega[k*c+1]!=2, k++]; k]; Array[sik, 40, 0] (* Harvey P. Dale, Aug 20 2012 *)
CROSSREFS
Sequence in context: A247501 A192183 A133518 * A205139 A092743 A139420
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Aug 17 2006
EXTENSIONS
More terms from Harvey P. Dale, Aug 20 2012
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 11:31 EDT 2024. Contains 371792 sequences. (Running on oeis4.)