OFFSET
1,13
COMMENTS
For all numbers n in A023806, a(n)=1, but this holds also for others, e.g., n=145, not in A023806. The same relation holds for the terms of A113763 less than n=144, but becomes wrong from then on. - M. F. Hasler, Jul 24 2013
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..22621
MATHEMATICA
A043286[n_]:=Max[Map[Length, Split[IntegerDigits[n, 12]]]]; Array[A043286, 100] (* Paolo Xausa, Sep 27 2023 *)
PROG
(PARI) A043286(n, b=12){=my(m, c=1); while(n>0, n%b==(n\=b)%b&&c++&&next; m=max(m, c); c=1); m} \\ M. F. Hasler, Jul 23 2013 - typos fixed by Antti Karttunen, Dec 06 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Antti Karttunen, Dec 06 2017
STATUS
approved