Talk:Self-describing numbers: Difference between revisions

 
(3 intermediate revisions by 3 users not shown)
Line 5:
 
At the moment this reads like an encyclopedia entry rather than a task description. --[[User:Paddy3118|Paddy3118]] 12:33, 8 May 2011 (UTC)
 
: I believe that using a lookup table doesn't fullfill the intent of the requirement of a task, given that the task states what a self-describing number is and/or how to determine that if a number is one. Seeing if a number is in a simple list is another deterministic method entirely. -- [[User:Gerard Schildberger|Gerard Schildberger]] 22:40, 2 August 2012 (UTC)
 
: If a task where to ask to determine (or show a list) if a number is a Fibonacci prime, and all that was done was to check if the number was in a pre-defined list. It's not strictly against the "rules" (which really aren't specified), but it sure skirts around showing how a language would solve the intent of the task, that is, use the stated algorithm(s). I see nothing wrong, however, if there'd be an optimized version (listed as a table lookup) in addition to the use of the task's algorithm(s). -- [[User:Gerard Schildberger|Gerard Schildberger]] 22:40, 2 August 2012 (UTC)
 
==Template needed==
Line 105 ⟶ 109:
:Hi, I've just seen this and will see what I can do to help. --[[User:Paddy3118|Paddy3118]] 13:24, 8 May 2011 (UTC)
 
===Duplicate task===
 
This task appears to be a duplicate of [[Self-describing numbers]].
Line 116 ⟶ 120:
;END OF MOVED TALK DATA
----
 
== Autobiographical number ==
 
Wikipedia http://en.wikipedia.org/wiki/Self-descriptive_number describes a self descriptive number:
 
A self-descriptive number is an integer m that in a given base b is b digits long in which each digit d at position n (the most significant digit being at position 0 and the least significant at position b - 1) counts how many instances of digit n are in m.
 
The task described here is closer to that which wikipedia defines as an Autobiographical number http://en.wikipedia.org/wiki/Autobiographical_numbers
--[[User:Nigel Galloway|Nigel Galloway]] 12:07, 10 January 2013 (UTC)
2,171

edits