Talk:Truncatable primes: Difference between revisions

From Rosetta Code
Content added Content deleted
m (→‎OEIS: new section)
(Category cleanup troubles - help)
Line 9: Line 9:


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


==Phantom Category==
:I was trying to test cleaning up some categories of tasks (see [[Rosetta_Code:Village_Pump/Grouping_tasks]]) and thought I'd start with Primes, Prime, and Prime Numbers. So I added [[Prime Numbers]] but low and behold I can't find where [[Truncatable_primes]] references ''Primes''. In the html source there is a "wgCategories=[" inside a script and I can see at the bottom where a "Category:Primes (page does not exist)" is generated but I can't find where to fix this. Help? --[[User:Dgamey|Dgamey]] 10:29, 18 May 2011 (UTC)

Revision as of 10:29, 18 May 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).


Phantom Category

I was trying to test cleaning up some categories of tasks (see Rosetta_Code:Village_Pump/Grouping_tasks) and thought I'd start with Primes, Prime, and Prime Numbers. So I added Prime Numbers but low and behold I can't find where Truncatable_primes references Primes. In the html source there is a "wgCategories=[" inside a script and I can see at the bottom where a "Category:Primes (page does not exist)" is generated but I can't find where to fix this. Help? --Dgamey 10:29, 18 May 2011 (UTC)