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.

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

This page as a plain text file.
%I A240018 #5 Mar 30 2014 19:11:41
%S A240018 1,0,1,1,2,2,4,4,7,8,12,14,21,24,34,41,55,66,88,105,136,165,208,253,
%T A240018 316,382,471,571,696,840,1019,1224,1474,1768,2114,2527,3010,3582,4247,
%U A240018 5042,5951,7040,8285,9766,11454,13465,15742,18448,21516,25136,29241,34073
%N A240018 Number of partitions of n, where the difference between the number of odd parts and the number of even parts is 9.
%C A240018 With offset 18 number of partitions of n, where the difference between the number of odd parts and the number of even parts is -9.
%H A240018 Alois P. Heinz, <a href="/A240018/b240018.txt">Table of n, a(n) for n = 9..1000</a>
%p A240018 b:= proc(n, i, t) option remember; `if`(abs(t)>n, 0,
%p A240018       `if`(n=0, 1, `if`(i<1, 0, b(n, i-1, t)+
%p A240018       `if`(i>n, 0, b(n-i, i, t+(2*irem(i, 2)-1))))))
%p A240018     end:
%p A240018 a:= n-> b(n$2, -9):
%p A240018 seq(a(n), n=9..80);
%Y A240018 Column k=9 of A240009.
%K A240018 nonn
%O A240018 9,5
%A A240018 _Alois P. Heinz_, Mar 30 2014