login
Number of length 5 1..(n+1) arrays with every leading partial sum divisible by 2, 3 or 5
1

%I #4 Feb 08 2015 10:32:21

%S 6,48,197,500,1569,2644,5780,10521,20196,28905,51251,68341,104670,

%T 147080,212086,263668,383709,465335,636191,809980,1052445,1232893,

%U 1623448,1974538,2461801,2945116,3606161,4084101,5153632,5776354,6911909,8046258

%N Number of length 5 1..(n+1) arrays with every leading partial sum divisible by 2, 3 or 5

%C Row 5 of A254827

%H R. H. Hardin, <a href="/A254832/b254832.txt">Table of n, a(n) for n = 1..210</a>

%e Some solutions for n=4

%e ..3....2....5....3....5....3....2....3....5....2....3....4....2....4....5....5

%e ..3....3....5....2....4....2....3....5....5....3....1....2....3....4....4....1

%e ..4....3....5....3....1....3....3....1....2....1....4....4....3....1....5....2

%e ..5....1....3....2....4....4....2....1....2....2....4....4....2....1....2....4

%e ..5....5....2....5....4....3....4....5....2....2....2....2....2....4....2....4

%K nonn

%O 1,1

%A _R. H. Hardin_, Feb 08 2015