%I
%S 1,21,61,179,527,1555,4595,13593,40245,119235,353459,1048285,3110249,
%T 9231305,27407185,81392387,241773327,718335747,2134675683,6344739309,
%U 18861068265,56076828573,166747755621,495896780609,1474935978225
%N Number of base 21 ndigit numbers with adjacent digits differing by one or less.
%C [Empirical] a(base,n)=a(base1,n)+3^(n1) for base>=n; a(base,n)=a(base1,n)+3^(n1)2 when base=n1.
%F G.f.: (1+10*x126*x^2+366*x^3166*x^4700*x^5+679*x^6+426*x^7466*x^8104*x^9+73*x^10+6*x^11) / ((1x)*(110*x+34*x^232*x^354*x^4+100*x^5+23*x^676*x^710*x^8+12*x^9+x^10)) (conjectured).  _Colin Barker_, Jul 18 2017
%o (S/R) stvar $[N]:(0..M1) init $[]:=0 asgn $[]>{*} kill +[i in 0..N2](($[i]`$[i+1]`>1)+($[i+1]`$[i]`>1))
%K nonn,base
%O 0,2
%A _R. H. Hardin_, Dec 26 2006
