%I #7 Mar 31 2012 12:35:06
%S 1,30,300,3080,31910,332332,3472294,36356914,381225854,4001308564,
%T 42025251756,441585511330,4641438979272,48795642652634,
%U 513063278382886,5395138052943334,56736497174383966,596680299580096756
%N Number of base 30 n-digit numbers with adjacent digits differing by five or less.
%C [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
%o (S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-2](($[i]`-$[i+1]`>5)+($[i+1]`-$[i]`>5))
%Y Cf. Base 30 differing by four or less A126525, three or less A126498, two or less A126417, one or less A126384.
%K nonn,base
%O 0,2
%A _R. H. Hardin_, Dec 28 2006