login

Revision History for A348288

(Bold, blue-underlined text is an ; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Variation on the Inventory Sequence A342585: the same rules as A342585 are used except that the terms count the occurrences of the iterating number, treated as a string, in the string concatenation of all previous terms. See the Comments.
(history; published version)
#16 by Joerg Arndt at Wed Nov 24 01:25:08 EST 2021
STATUS

reviewed

#15 by Michel Marcus at Wed Nov 24 00:42:18 EST 2021
STATUS

proposed

#14 by Jon E. Schoenfield at Tue Nov 23 22:37:22 EST 2021
STATUS

editing

#13 by Jon E. Schoenfield at Tue Nov 23 22:37:13 EST 2021
NAME

Variation on the Inventory Sequence A342585: the same rules as A342585 are used except that the terms count the number of occurrences of the iterating number, treated as a string, in the string concatenation of all previous terms. See the Comments.

COMMENTS

This is a variation of A342585. The same rules apply except that each number, as it iterates from counting zeros to counting the next number until zero occurrences are found, is treated as a string. The number of occurrences of this string is counted in the concatenation of all previous terms which is also treated as a string. For example when the sequence is adding the number of occurrences of 10, this is treated as the string '10', and thus any occurrence of '10' in the concatenation of all previous terms is counted. This would therefore count the term 1 followed by 0 as an occurrence of '10'. The strings are allowed to overlap, e.g. the number '111' would increment the count of 1's three times, the count of 11's two times, and the count of 111's one time.

Unlike A342585 the number of occurrences of the smaller values does not seem to change order as n gets larger. After 5 million terms the order of most frequent occurrences is 1,2,3,4,5,6,7,8,9,0,11,12,10,21,13,14,15,16. It is unlikely the single digit order changes although, considering 21 appears high on the count for 2 digit numbers, the order of these and other 2 digit values may change as n gets larger. See the linked image.

STATUS

approved

#12 by N. J. A. Sloane at Mon Oct 11 19:01:20 EDT 2021
STATUS

proposed

#11 by Michael S. Branicky at Sun Oct 10 10:10:52 EDT 2021
STATUS

editing

#10 by Michael S. Branicky at Sun Oct 10 09:47:20 EDT 2021
PROG

STATUS

proposed

Discussion
Sun Oct 10
09:47
Michael S. Branicky: just a program.  matches all terms in data.
#9 by Scott R. Shannon at Sun Oct 10 07:33:47 EDT 2021
STATUS

editing

#8 by Scott R. Shannon at Sun Oct 10 07:29:50 EDT 2021
COMMENTS

Counting the occurrences of each number treated as a string leads to many more terms being found before a zero term is recorded. For example the iteration spanning the 5 millionth term has a(4989648) = 0, a(4989649) = 1115869, then a(5009652) = 5, a(5009653) = 0. Therefore at this stage every number, treated as a string, from 0 to 20004 has occurred at least once in the concatenation of all previous terms.

LINKS

#7 by Scott R. Shannon at Sun Oct 10 07:20:31 EDT 2021
LINKS

Scott R. Shannon, <a href="/A348288/a348288.png">Image of the first 5 million terms</a>.