This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A126419 #5 Mar 31 2012 12:35:06 %S A126419 1,32,154,750,3668,17986,88348,434524,2139230,10540030,51964360, %T A126419 256332260,1265027930,6245522700,30845183058,152383470186, %U A126419 753018119972,3722010001906,18401089523298,90990129769076,450009665618408 %N A126419 Number of base 32 n-digit numbers with adjacent digits differing by two or less. %C A126419 [Empirical] a(base,n)=a(base-1,n)+5^(n-1) for base>=2n-1; a(base,n)=a(base-1,n)+5^(n-1)-2 when base=2n-2 %o A126419 (S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-2](($[i]`-$[i+1]`>2)+($[i+1]`-$[i]`>2)) %Y A126419 Cf. Base 32 differing by one or less A126386. %K A126419 nonn,base %O A126419 0,2 %A A126419 _R. H. Hardin_, Dec 28 2006