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!)
A046461 Numbers k such that concatenation of numbers from 1 to k is a semiprime. 5
3, 4, 7, 34, 97 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
From Sean A. Irvine, Apr 15 2010, updated Oct 08 2015: (Start)
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
From Jon E. Schoenfield, Oct 07 2023: (Start)
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
Carlos Rivera, Puzzle 8. Primes by Listing, The Prime Puzzles and Problems Connection.
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
Sequence in context: A042773 A042173 A317811 * A084590 A279920 A041135
KEYWORD
nonn,hard,base,more
AUTHOR
Patrick De Geest, Aug 15 1998
EXTENSIONS
Simplified definition by Sean A. Irvine, Mar 29 2010
a(5) from Sean A. Irvine, Mar 29 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 April 24 19:24 EDT 2024. Contains 371962 sequences. (Running on oeis4.)