# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a079973
Showing 1-1 of 1
%I A079973 #28 Mar 05 2017 05:37:02
%S A079973 1,0,1,1,1,3,2,5,6,8,14,16,27,36,51,77,103,155,216,309,448,628,912,
%T A079973 1292,1849,2652,3769,5413,7713,11031,15778,22513,32222,46004,65766,
%U A079973 94004,134283,191992,274291,392041,560287,800615,1144320,1635193,2336976
%N A079973 Number of permutations satisfying -k <= p(i) - i <= r and p(i) - i not in I, i=1..n, with k=1, r=4, I={0,3}.
%C A079973 Number of compositions (ordered partitions) of n into elements of the set {2,3,5}.
%C A079973 For n>=2, a(n) is number of compositions of n-2 with elements from the set {1,2,3} such that no two odd numbers appear consecutively. - _Armend Shabani_, Mar 01 2017
%D A079973 D. H. Lehmer, Permutations with strongly restricted displacements. Combinatorial theory and its applications, II (Proc. Colloq., Balatonfured, 1969), pp. 755-770. North-Holland, Amsterdam, 1970.
%H A079973 Vladimir Baltic, On the number of certain types of strongly restricted permutations, Applicable Analysis and Discrete Mathematics Vol. 4, No 1 (2010), 119-135
%H A079973 Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,1).
%F A079973 a(n) = a(n-2) + a(n-3) + a(n-5).
%F A079973 G.f.: -1/(x^5 + x^3 + x^2 - 1).
%t A079973 CoefficientList[Series[-1/(x^5 + x^3 + x^2 - 1), {x, 0, 44}], x] (* _Michael De Vlieger_, Mar 02 2017 *)
%Y A079973 Row sums of A059484. - _N. J. A. Sloane_, Jun 02 2009
%Y A079973 Cf. A002524-A002529, A072827, A072850-A072856, A079955-A080014.
%K A079973 nonn
%O A079973 0,6
%A A079973 _Vladimir Baltic_, Feb 17 2003
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE