login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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

%I #6 May 19 2024 20:53:09

%S 1,2,4,8,16,27,33,35,45,60,68,80,106,142,211,343,504,637,790,1130,

%T 1763,2609,3568,4642,5797,7056,8768,11568,16417,24675,37552,56272,

%U 83937,125305,182162,252228,339708,467272,669375,968670,1362912,1838792

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

%C Column 1 of A258631.

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

%e Some solutions for n=8

%e ..2....2....2....2....2....2....2....2....2....2....2....2....2....2....2....2

%e ..1....2....1....2....1....1....1....2....1....2....1....1....2....2....1....2

%e ..2....2....2....1....1....2....1....1....1....1....1....2....2....2....2....2

%e ..1....1....1....2....1....2....1....1....2....1....1....2....1....2....1....2

%e ..1....1....2....1....2....2....2....2....2....1....1....1....2....1....1....2

%e ..1....2....2....1....1....1....2....1....2....2....2....1....1....1....2....2

%e ..2....2....2....1....1....2....1....1....2....1....2....1....2....2....1....2

%e ..2....2....2....2....1....2....2....2....2....2....2....2....2....2....2....1

%Y Cf. A258631.

%K nonn

%O 1,2

%A _R. H. Hardin_, Jun 06 2015