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.
%I A167934 #27 Feb 01 2018 10:16:41 %S A167934 1,1,1,2,3,6,8,14,19,28,39,55,72,100,132,173,227,296,380,489,622,789, %T A167934 999,1254,1568,1956,2433,3007,3713,4564,5597,6841,8344,10140,12307, %U A167934 14880,17969,21636,26012,31182,37331,44582,53167,63260,75170 %N A167934 a(n) = A000041(n) - A032741(n). %C A167934 a(n) is also the number of partitions of n whose parts are not all equal, (including however the partition with a single part of size n). Note that the number of partitions of n whose parts are all equal gives the number of divisors of n, for n>0. (See also A144300.) %H A167934 Alois P. Heinz, <a href="/A167934/b167934.txt">Table of n, a(n) for n = 0..10000</a> %H A167934 Omar E. Pol, <a href="http://www.polprimos.com/imagenespub/polpatru.jpg">Illustration of the shell model of partitions (2D and 3D view)</a> %H A167934 Omar E. Pol, <a href="http://www.polprimos.com/imagenespub/polpa2dt.jpg">Illustration of the shell model of partitions (2D view)</a> %H A167934 Omar E. Pol, <a href="http://www.polprimos.com/imagenespub/polpa3dt.jpg">Illustration of the shell model of partitions (3D view)</a> %F A167934 a(n) = A000041(n) - A032741(n). %e A167934 The partitions of n = 6 are: %e A167934 6 ....................... All parts are equal, but included .. (1). %e A167934 5 + 1 ................... All parts are not equal ............ (2). %e A167934 4 + 2 ................... All parts are not equal ............ (3). %e A167934 4 + 1 + 1 ............... All parts are not equal ............ (4). %e A167934 3 + 3 ................... All parts are equal, not included. %e A167934 3 + 2 + 1 ............... All parts are not equal ............ (5). %e A167934 3 + 1 + 1 + 1 ........... All parts are not equal ............ (6). %e A167934 2 + 2 + 2 ............... All parts are equal, not included. %e A167934 2 + 2 + 1 + 1 ........... All parts are not equal ............ (7). %e A167934 2 + 1 + 1 + 1 + 1 ....... All parts are not equal ............ (8). %e A167934 1 + 1 + 1 + 1 + 1 + 1 ... All parts are equal, not included. %e A167934 Then a(6) = 8. %p A167934 b:= proc(n, i, k) option remember; %p A167934 if n<0 then 0 %p A167934 elif n=0 then `if`(k=0, 1, 0) %p A167934 elif i=0 then 0 %p A167934 else b(n, i-1, k)+ %p A167934 b(n-i, i, `if`(k<0, i, `if`(k<>i, 0, k))) %p A167934 fi %p A167934 end: %p A167934 a:= n-> 1 +b(n, n-1, -1): %p A167934 seq(a(n), n=0..50); # _Alois P. Heinz_, Dec 01 2010 %t A167934 a[0] = 1; a[n_] := PartitionsP[n] - DivisorSigma[0, n] + 1; Table[a[n], {n, 0, 50}] (* _Jean-François Alcover_, Jan 08 2016 *) %Y A167934 Cf. A000005, A000009, A000041, A000065, A032741, A047967, A111133, A144300, A135010, A138121, A167930, A167932, A167935. %K A167934 nonn %O A167934 0,4 %A A167934 _Omar E. Pol_, Nov 16 2009 %E A167934 More terms from _Alois P. Heinz_, Dec 01 2010