Snakes in the Plane. Kekulé claimed that the structure of benzene appeared to him in a dream that included a snake eating its tail. (Ouroboros image and the benzene structural diagram,via Wikimedia Commons). |
Numbers represented on a seven-segment display. (Illustration by the author). |
• Integer sequence A001746, integers for which at least one character is a loop character, four excluded; e.g., 0, 6, 8, 9, 10, 16, 18, 19, 20, 26, 28, 29, 30, 36, 38, 39, 40, 46, 48, 49, 50...I was inspired enough by my brush with glory to compose two computer programs for finding such numbers. The first of which (holey_numbers.c) calculates the integer sequence A001745; and the second of which (holey_numbers_02.c) calculates the integer sequence A001744. These are the sequences that include four, but a slight modification of the programs will give the other sequences. The programs are written for integers up to 32,767, but you can modify for long integers. The following graph shows the distribution of the first 625 integers of sequence A001744 in the first 10,000 numbers. As can be expected, "wasteland areas" in which there are no numbers for an extended period, are a feature of the distribution. It's obvious from introspection that the numbers from 1,000 through 3,999 all have a non-loop initial character, and they will create one such wasteland. C programming language I had forgotten. As far as their other utility, it's a lot like the quotation attributed to both Michael Faraday and Benjamin Franklin when asked about their discoveries - "What use is a baby."[2]
• Integer sequence A001745, as above, but with four included; e.g., 0, 4, 6, 8, 9, 10, 14, 16, 18, 19, 20, 24, 26, 28, 29, 30, 34, 36, 38, 39, 40, 44, 46, 48, 49, 50...
• Integer sequence A001743, integers for which every character is a loop character, four excluded; e.g., 0, 6, 8, 9, 60, 66, 68, 69, 80, 86, 88, 89, 90, 96, 98, 99, 600, 606, 608, 609, 660, 666, 668, 669, 680, 686, 688...
• Integer sequence A001744, integers for which every character is a loop character, four included; e.g., 0, 4, 6, 8, 9, 40, 44, 46, 48, 49, 60, 64, 66, 68, 69, 80, 84, 86, 88, 89, 90, 94, 96, 98, 99, 400...