OFFSET
1,2
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000
FORMULA
From Amiram Eldar, Jan 01 2024: (Start)
a(n) = Sum_{d|n} A167392(d).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = A078506 = 2.510597... . (End)
EXAMPLE
For n = 20 the divisors of 20 are 1, 2, 4, 5, 10, 20 and three of them are also partition numbers: 1, 2, 5, so a(20) = 3.
For n = 42 the divisors of 42 are 1, 2, 3, 6, 7, 14, 21, 42 and five of them are also partition numbers: 1, 2, 3, 7, 42, so a(42) = 5.
MATHEMATICA
p = {1}; Table[If[n >= Last@p, AppendTo[p, PartitionsP[1 + Length@p]]]; Length@Select[p, Mod[n, #] == 0 &], {n, 90}] (* Giovanni Resta, Jan 22 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Jan 21 2014
STATUS
approved