cp's OEIS Frontend

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.

A126545 Number of base 24 n-digit numbers with adjacent digits differing by five or less.

This page as a plain text file.
%I A126545 #7 Mar 31 2012 12:35:06
%S A126545 1,24,234,2354,23924,244486,2505990,25729152,264403424,2718476326,
%T A126545 27957786710,287570952278,2958167790692,30431267734052,
%U A126545 313060248631608,3220635873588592,33132828240473566,340860858043433410
%N A126545 Number of base 24 n-digit numbers with adjacent digits differing by five or less.
%C A126545 [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 A126545 (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 A126545 Cf. Base 24 differing by four or less A126519, three or less A126492, two or less A126411, one or less A126378.
%K A126545 nonn,base
%O A126545 0,2
%A A126545 _R. H. Hardin_, Dec 28 2006