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 #10 Jul 18 2017 08:03:43
%S 1,14,124,1144,10616,98600,915904,8508084,79034176,734172816,
%T 6819958040,63352697344,588502780296,5466784162856,50782647228176,
%U 471735701043648,4382098684999456,40706668676111984,378136822974584768
%N Number of base 14 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.
%F G.f.: (1+4*x-12*x^2-14*x^3+20*x^4+6*x^5-6*x^6) / (1-10*x+4*x^2+26*x^3-16*x^4-10*x^5+6*x^6) (conjectured). - _Colin Barker_, Jul 18 2017
%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 14 differing by four or less A126509, three or less A126482, two or less A126401, one or less A126368.
%K nonn,base
%O 0,2
%A _R. H. Hardin_, Dec 28 2006