cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A254755 Left-truncatable composites: every decimal suffix is a composite number.

This page as a plain text file.
%I A254755 #10 Feb 23 2015 23:09:43
%S A254755 4,6,8,9,14,16,18,24,26,28,34,36,38,39,44,46,48,49,54,56,58,64,66,68,
%T A254755 69,74,76,78,84,86,88,94,96,98,99,104,106,108,114,116,118,124,126,128,
%U A254755 134,136,138,144,146,148,154,156,158,164,166,168
%N A254755 Left-truncatable composites: every decimal suffix is a composite number.
%H A254755 Stanislav Sykora, <a href="/A254755/b254755.txt">Table of n, a(n) for n = 1..10000</a>
%e A254755 549 is a member because 549, 49, and 9 are all composites.
%o A254755 (PARI) isComposite(n) = (n>2)&&(!isprime(n));
%o A254755 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);}
%Y A254755 Cf. A103443 (left-truncatable primes), A202260 (right-truncatable composites), A254750.
%K A254755 nonn,base
%O A254755 1,1
%A A254755 _Stanislav Sykora_, Feb 15 2015