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!)
A214755 Primes formed by concatenating odd primes. 0
37, 53, 73, 113, 137, 173, 193, 197, 233, 293, 311, 313, 317, 331, 337, 347, 353, 359, 367, 373, 379, 383, 389, 397, 433, 523, 541, 547, 557, 571, 577, 593, 613, 617, 673, 677, 719, 733, 743, 757, 761, 773, 797, 977, 1013, 1033, 1093, 1097, 1117, 1123, 1129, 1153 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Subsequence of A019549.
LINKS
PROG
(Python)
# oddPrimes = [3, ..., 1153]
def tryPartioning(binString): # First digit is not 0
l = len(binString)
for t in range(1, l):
substr1 = binString[:t]
if (int(substr1) in oddPrimes) or (t>=2 and tryPartioning(substr1)):
substr2 = binString[t:]
if substr2[0]!='0':
if (int(substr2) in oddPrimes) or (l-t>=2 and tryPartioning(substr2)):
return 1
return 0
for p in oddPrimes:
if tryPartioning(str(p)):
print p,
CROSSREFS
Sequence in context: A060330 A302720 A304358 * A101940 A330339 A036540
KEYWORD
nonn,base
AUTHOR
Alex Ratushnyak, Aug 03 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 27 11:10 EDT 2024. Contains 372019 sequences. (Running on oeis4.)