|
|
A046461
|
|
Numbers k such that concatenation of numbers from 1 to k is a semiprime.
|
|
5
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
5053 and 9706 are definite terms of the sequence.
The next potential term is 1651.
A007908(1651) is composite, but has no known prime factor, and its least prime factor likely has at least 45 digits. (End)
If k is a multiple of 10, then k is not a term. - Chai Wah Wu, Jan 22 2020
k cannot be a term if any of the following are true:
4|k and k > 4 (2*2 would divide the concatenation)
6|k or 6|k-2 (2*3 " " " " )
9|k or 9|k-8 (3*3 " " " " )
10|k (2*5 " " " " )
15|k or 15|k-5 (3*5 " " " " )
25|k (5*5 " " " " ) (End)
|
|
LINKS
|
|
|
EXAMPLE
|
A007908(691)=1304238680165623831238651513722972177904593843651*C1916, so A007908(691) is not a semiprime and 691 is not a term of this sequence.
|
|
MATHEMATICA
|
Select[Range[100], Length@FactorInteger@FromDigits@Flatten@IntegerDigits@Range@# == 2 &] (* Robert Price, Oct 11 2019 *)
Select[Range[100], PrimeOmega[FromDigits[Flatten[IntegerDigits/@Range[#]]]] == 2&] (* Harvey P. Dale, Sep 10 2022 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,hard,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|