A161772 Number of pattern sequences in bases 2 through 30 when the "sum of squares of digits" function is applied. In other words, A000216 is applied in other base systems, and the resulting number of closed patterns is counted.
1, 4, 1, 4, 2, 7, 6, 5, 2, 5, 7, 10, 3, 10, 2, 9, 6, 6, 2, 13, 5, 15, 5, 9, 2, 12, 7, 9, 5
Offset: 2
Examples
In base 2, there is a single (nonzero) pattern: 1, 1, 1, 1, ... In base 3, there are 4 such patterns, etc...
Links
- Brian Gleason, Some (Probably Useless) Number Theory
Crossrefs
Cf. A000216.