zlacker
[parent]
[thread]
3 comments
1. lifthr+(OP)
[view]
[source]
2019-11-11 02:54:32
Wait, do natural numbers include zero?
evil grin
replies(2):
>>talake+08
>>chopin+XA
◧
2. talake+08
[view]
[source]
2019-11-11 04:59:09
>>lifthr+(OP)
No support for that in Sloane's.
https://oeis.org/A000027
◧
3. chopin+XA
[view]
[source]
2019-11-11 11:59:07
>>lifthr+(OP)
I looked up wikipedia which says there's no conclusive definition.
replies(1):
>>lifthr+DC
◧◩
4. lifthr+DC
[view]
[source]
[discussion]
2019-11-11 12:14:16
>>chopin+XA
The joke is that, if you don't need to check if the input is negative because it is not a natural number, you can also choose a definition of the natural number without zero to avoid special casing it at all.
[go to top]