%I #9 Dec 02 2018 18:31:56
%S 1,1,1,1,1,1,1,2,16,128,800,4160,18944,78080,301160,1208066,6753606,
%T 60823622,648980646,6581663766,60475366230,505780634070,3921237755958,
%U 29226687666930,227116001463258,2092153010685722,24250743543656922,322040690042341562
%N Number of permutations of [n] in which the length of every increasing run is 0 or 1 (mod 7).
%H Alois P. Heinz, <a href="/A322297/b322297.txt">Table of n, a(n) for n = 0..526</a>
%Y Cf. A317111, A322251, A322262, A322276, A322298.
%K nonn
%O 0,8
%A _Alois P. Heinz_, Dec 02 2018