cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A240016 Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 7.

This page as a plain text file.
%I A240016 #6 Mar 30 2014 18:00:12
%S A240016 1,0,1,1,2,2,4,4,7,8,12,14,21,24,34,41,54,66,86,105,133,164,203,250,
%T A240016 308,376,458,560,675,821,986,1192,1423,1716,2037,2445,2894,3455,4076,
%U A240016 4849,5700,6752,7921,9342,10930,12850,14994,17566,20456,23884,27752,32311
%N A240016 Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 7.
%C A240016 With offset 14 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -7.
%H A240016 Alois P. Heinz, <a href="/A240016/b240016.txt">Table of n, a(n) for n = 7..1000</a>
%p A240016 b:= proc(n, i, t) option remember; `if`(abs(t)>n, 0,
%p A240016       `if`(n=0, 1, `if`(i<1, 0, b(n, i-1, t)+
%p A240016       `if`(i>n, 0, b(n-i, i, t+(2*irem(i, 2)-1))))))
%p A240016     end:
%p A240016 a:= n-> b(n$2, -7):
%p A240016 seq(a(n), n=7..80);
%Y A240016 Column k=7 of A240009.
%K A240016 nonn
%O A240016 7,5
%A A240016 _Alois P. Heinz_, Mar 30 2014