login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A254755
Left-truncatable composites: every decimal suffix is a composite number.
6
4, 6, 8, 9, 14, 16, 18, 24, 26, 28, 34, 36, 38, 39, 44, 46, 48, 49, 54, 56, 58, 64, 66, 68, 69, 74, 76, 78, 84, 86, 88, 94, 96, 98, 99, 104, 106, 108, 114, 116, 118, 124, 126, 128, 134, 136, 138, 144, 146, 148, 154, 156, 158, 164, 166, 168
OFFSET
1,1
LINKS
EXAMPLE
549 is a member because 549, 49, and 9 are all composites.
PROG
(PARI) isComposite(n) = (n>2)&&(!isprime(n));
isLeftTruncatableComposite(n, b=10) = {my(k=b); if(!isComposite(n), return(0); ); while(n\k>0, if(!isComposite(n%k), return(0); ); k*=b); return(1); }
CROSSREFS
Cf. A103443 (left-truncatable primes), A202260 (right-truncatable composites), A254750.
Sequence in context: A285586 A118951 A262389 * A275624 A228019 A228020
KEYWORD
nonn,base
AUTHOR
Stanislav Sykora, Feb 15 2015
STATUS
approved