Talk:Truncatable primes: Difference between revisions

From Rosetta Code
Content added Content deleted
m (→‎OEIS: new section)
Line 5: Line 5:


: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. --[[User:Paddy3118|Paddy3118]] 03:27, 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. --[[User:Paddy3118|Paddy3118]] 03:27, 9 September 2010 (UTC)

== OEIS ==

for reference, a few of the related OEIS sequences are [http://oeis.org/A024770 A024770] (right) and [http://oeis.org/A024785 A024785] (left).

Revision as of 02:38, 3 January 2011

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).