# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a125467 Showing 1-1 of 1 %I A125467 #8 Mar 31 2012 12:35:02 %S A125467 1,32,472,5720,80680,1160552,17087368,255059144,3847010920, %T A125467 58470091304,893868096012,13725977829244,211491017541784, %U A125467 3267183192531056,50573396314085242,784031120369340530,12168860465362831864 %N A125467 Number of base 32 circular n-digit numbers with adjacent digits differing by 8 or less. %C A125467 [Empirical] a(base,n)=a(base-1,n)+F(8) for base>=8.int(n/2)+1 and F(d) is the largest coefficient in (1+x+...+x^(2d))^n %o A125467 (S/R) stvar $[N]:(0..M-1) init $[]:=0 asgn $[]->{*} kill +[i in 0..N-1](($[i]`-$[(i+1)mod N]`>8)+($[(i+1)mod N]`-$[i]`>8)) %K A125467 nonn,base %O A125467 0,2 %A A125467 _R. H. Hardin_, Dec 28 2006 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE