OFFSET
1,3
COMMENTS
Decimal expansion of 29809/900000. - Stefano Spezia, Sep 02 2024
LINKS
FORMULA
a(n) = 1 for n >= 7.
G.f.: x^3*(3 - 2*x^2 + x^3 - x^4)/(1 - x). - Elmo R. Oliveira, Aug 03 2024
E.g.f.: exp(x) - x - 1 + x^2*(x^4 + 60*x^2 + 240*x - 360)/720. - Stefano Spezia, Sep 02 2024
MATHEMATICA
PadRight[{0, 0, 3, 3, 1, 2}, 100, 1] (* Paolo Xausa, Sep 01 2024 *)
PROG
(Magma) [Floor((n*(n+1)div 2) div ((n*(n+1)div 2)-SumOfDivisors(n))): n in [3..1000]];
(PARI) if(n>6, 1, [0, 0, 3, 3, 1, 2][n]) \\ Charles R Greathouse IV, May 15 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jaroslav Krizek, Jul 08 2014
STATUS
approved