OFFSET
1,2
COMMENTS
In factorial base (A007623) these numbers look as:
1, 11, 121, 2001, 22011, 242121, 3004001, 33044011, 363524121, 4011111001, 44122221011, 485344431121, 5018801043001, <the first term with digit-value "10">, ...
This sequence is obtained by setting a(1) = 1, and then adding to each previous term a(n-1) the same factorial-base representation, but shifted by one factorial digit left. Only when a term does not contain any adjacent nonzero digits, as is the case with a(4) = "2001" or a(7) = "3004001", does the next term a(5) = "22011" (or respectively a(8) = "33044011") show the uncorrupted "double vision pattern". In other cases, for example, when going from a(2) to a(3), "11" to "121", two nonzero digits are summed up and there is possibly also a carry digit propagating to the left.
LINKS
FORMULA
MATHEMATICA
f[n_] := Module[{k = n, m = 2, r, s = {0}}, While[{k, r} = QuotientRemainder[k, m]; k != 0 || r != 0, AppendTo[s, r]; m++]; FromDigits[Reverse[s], MixedRadix[Reverse@ Range[2, Length[s] + 1]]]]; NestList[f[#] + # &, 1, 23] (* Amiram Eldar, Feb 14 2024 *)
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Dec 20 2015
EXTENSIONS
Comment and the note about binomial transform corrected - Antti Karttunen, Sep 20 2016
STATUS
approved