how do I .... generate a "natural number"
Posted: Mon May 10, 2010 11:43 pm
In a foot-note in the biography of Alan Turing, a natural number is describe as containing all the digits.
In 1962 I worked at a materials testing laboratory, we had one electro-mechanical calculator. Normally we would just use two decimal figures, but one day I let it go on clunking and chunking and noticed the answer was something like...
1357924680135 etc.
Alas, I have forgotten what the divisor was. I have looked. I have written down all the reciprocals of all the permutations of 13579 and 24680 and looked for suitable divisors. No joy. Perhaps the answer was something like... 6801357902468013579 ..etc
I tried to write an ASM program that would divide 10,000 by every number from 1,001 to 9,999, work it out to 15 decimal places and then search for 13579. No joy. (wrong code?...possibly)
I have looked at pages about math and interesting numbers. I would have thought that such a divider was an interesting number?
Not suitable for PE, since I can't give the answer?
In 1962 I worked at a materials testing laboratory, we had one electro-mechanical calculator. Normally we would just use two decimal figures, but one day I let it go on clunking and chunking and noticed the answer was something like...
1357924680135 etc.
Alas, I have forgotten what the divisor was. I have looked. I have written down all the reciprocals of all the permutations of 13579 and 24680 and looked for suitable divisors. No joy. Perhaps the answer was something like... 6801357902468013579 ..etc
I tried to write an ASM program that would divide 10,000 by every number from 1,001 to 9,999, work it out to 15 decimal places and then search for 13579. No joy. (wrong code?...possibly)
I have looked at pages about math and interesting numbers. I would have thought that such a divider was an interesting number?
Not suitable for PE, since I can't give the answer?