Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #7 Mar 31 2012 12:35:06
%S 1,32,322,3322,34572,361614,3794396,39900036,420199296,4429943806,
%T 46737838878,493369276732,5210044608364,55033710005144,
%U 581433527148552,6143714493591276,64923869760680486,686132382682831498
%N Number of base 32 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 32 differing by four or less A126527, three or less A126500, two or less A126419, one or less A126386.
%K nonn,base
%O 0,2
%A _R. H. Hardin_, Dec 28 2006