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!)
A126383 Number of base 29 n-digit numbers with adjacent digits differing by one or less. 4
1, 29, 85, 251, 743, 2203, 6539, 19425, 57741, 171723, 510923, 1520677, 4527425, 13482833, 40161769, 119656139, 356564583, 1062709515, 3167796987, 9444103221, 28159160001, 83971103781, 250430581245, 746945257479 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
[Empirical] a(base,n)=a(base-1,n)+3^(n-1) for base>=n; a(base,n)=a(base-1,n)+3^(n-1)-2 when base=n-1
LINKS
PROG
(S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-2](($[i]`-$[i+1]`>1)+($[i+1]`-$[i]`>1))
CROSSREFS
Sequence in context: A195314 A323218 A124784 * A032508 A042654 A042652
KEYWORD
nonn,base
AUTHOR
R. H. Hardin, Dec 26 2006
STATUS
approved

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 24 13:00 EDT 2024. Contains 371945 sequences. (Running on oeis4.)