Talk:Truncatable primes

From Rosetta Code
Revision as of 02:38, 3 January 2011 by rosettacode>Billymac00 (→‎OEIS: new section)

Is Zero allowed?

I think the task should explicitly state whether zero is allowed in the numbers or not. If allowed then 999907 is the largest left-truncatable prime less than 1000000. --Tikkanz 00:58, 9 September 2010 (UTC)

Thanks Tikkanz. I've disallowed zero as this is done in part of the Mathworld article. It means disallowing '07' as being a prime for example, and seems reasonable. --Paddy3118 03:27, 9 September 2010 (UTC)

OEIS

for reference, a few of the related OEIS sequences are A024770 (right) and A024785 (left).