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!)
A174173 Semiprimes with consecutive digits starting with 1. 0
123, 1234, 1234567, 12345678901, 12345678901234567, 123456789012345678901234567, 1234567890123456789012345678901 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
123=3*41, 1234=2*617, 1234567=127*9721, 12345678901=857*14405693,..
MATHEMATICA
f1[n_]:=Last@RealDigits[n, 10][[1]]; f2[n_]:=Last/@FactorInteger[n]=={1, 1}; lst={}; lst2={}; Do[AppendTo[lst, f1[n]]; a=FromDigits[lst]; If[f2[a], (*Print[a]; *)AppendTo[lst2, a]], {n, 43}]; lst2
Select[Table[FromDigits[PadRight[{}, n, Join[Range[9], {0}]]], {n, 40}], PrimeOmega[ #]==2&] (* Harvey P. Dale, Jun 07 2013 *)
CROSSREFS
Sequence in context: A135475 A233119 A167231 * A116935 A265983 A103504
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Next terms have 124, 157, 247, ... decimal digits.
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 12 13:39 EDT 2024. Contains 373331 sequences. (Running on oeis4.)