OFFSET
1,3
COMMENTS
See A397794 for the definition of the canonical snowball representation of a number.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program
EXAMPLE
The first terms, alongside their canonical snowball representation, are:
n a(n) snowball(a(n))
-- ---- --------------
1 0
2 1 1
3 3 11
4 7 101
5 9 111
6 11 121
7 13 1001
8 25 10001
9 27 1111
10 41 1221
11 43 10101
12 49 100001
13 57 11011
14 81 11111
15 97 1000001
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn,base,new
AUTHOR
Rémy Sigrist, Jul 14 2026
STATUS
approved
