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!)
A126546 Number of base 25 n-digit numbers with adjacent digits differing by five or less. 0

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

%S 1,25,245,2475,25255,259127,2667039,27499769,283843569,2931488329,

%T 30286288971,312960372023,3234309867213,33427353913483,

%U 345492390255623,3570953641573985,36909251330677927,381495392831876277

%N Number of base 25 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 25 differing by four or less A126520, three or less A126493, two or less A126412, one or less A126379.

%K nonn,base

%O 0,2

%A _R. H. Hardin_, Dec 28 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 19 07:38 EDT 2024. Contains 371782 sequences. (Running on oeis4.)