login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126496 Number of base 28 n-digit numbers with adjacent digits differing by three or less. 2

%I #5 Mar 31 2012 12:35:06

%S 1,28,184,1232,8304,56196,381296,2592000,17644932,120248704,820197868,

%T 5598376276,38234454860,261248031956,1785751586164,12210406222304,

%U 83513470631012,571321692051188,3909186587411576,26752234815389416

%N Number of base 28 n-digit numbers with adjacent digits differing by three or less.

%C [Empirical] a(base,n)=a(base-1,n)+7^(n-1) for base>=3n-2; a(base,n)=a(base-1,n)+7^(n-1)-2 when base=3n-3

%o (S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-2](($[i]`-$[i+1]`>3)+($[i+1]`-$[i]`>3))

%Y Cf. Base 28 differing by two or less A126415, one or less A126382.

%K nonn,base

%O 0,2

%A _R. H. Hardin_, Dec 27 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 15:04 EDT 2024. Contains 371914 sequences. (Running on oeis4.)