OFFSET
0,2
COMMENTS
[Empirical] a(base,n)=a(base-1,n)+11^(n-1) for base>=5n-4; a(base,n)=a(base-1,n)+11^(n-1)-2 when base=5n-5.
FORMULA
G.f.: (1+5*x-14*x^2-30*x^3+22*x^4+30*x^5-8*x^6-8*x^7) / (1-10*x+x^2+40*x^3-8*x^4-34*x^5+4*x^6+8*x^7) (conjectured). - Colin Barker, Jul 19 2017
PROG
(S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-2](($[i]`-$[i+1]`>5)+($[i+1]`-$[i]`>5))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
R. H. Hardin, Dec 28 2006
STATUS
approved