OFFSET
0,1
COMMENTS
A "comma sum" sequence is such that a(n+1)-a(n) = rightmost digit of a(n) + leftmost digit of a(n+1), taking usually the smallest possible solution.
The value a(0)=2 corresponds to the sequence (0,1), not to sequence A230288 starting by definition with 0,5,....
a(n)>0 for all n<396. See A230450 for the sequence starting with 396.
PROG
(PARI) for(n=0, 196, print1(#A230288_list([n], 150), ", ")) \\ The second argument (nMax) is useful only for n>= 396. If this value (here 150) is printed, this most probably means that the sequence is infinite, a(n)=0.
(Python) # uses A230288gen() in A230288
def a(n): return len(list(A230288gen(start=[n])))
print([a(n) for n in range(100)]) # Michael S. Branicky, Nov 03 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Oct 19 2013
STATUS
approved