| Download
Project: Peter's Files
Views: 3893Visibility: Unlisted (only visible to those who know the link)
Image: ubuntu1804Kernel: Python 3 (system-wide)
Counting Pattern
Define as the recursively defined sequence of integers whose th term is the 'verbal summary' of the digits in the previous term and whose first term is .
Example:
If is a term, the next term is because contains one , two s, and one .
In [81]:
In [82]:
In [101]:
In [103]:
test a bunch
In [111]:
In [122]:
(['39',
'1319',
'211319',
'31121319',
'41122319',
'3122131419',
'4122231419',
'3132132419',
'3122331419'],
9)
In [120]:
0.0
In [0]: