OFFSET
1,2
COMMENTS
Number of ways the numbers from 1..n divide the numbers from n..2n-1, n>=2. - Wesley Ivan Hurt, Feb 08 2022
REFERENCES
Marc LeBrun, personal communication.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
FORMULA
a(n) = n^2 - Sum_{k=1..n} Sum_{i=n..2n-1} sign(i mod k). - Wesley Ivan Hurt, Feb 08 2022
EXAMPLE
a(3) = 3 + 1 + 1 = 5. a(7) = 17 = 7 + 3 + 2 + 2 + 1 + 1 + 1.
MATHEMATICA
rnd[n_] := If[Mod[n, 1] > .5, Ceiling[n], Floor[n]]; Table[ Sum[ rnd[ n/k], {k, 1, n} ], {n, 1, 70} ]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Robert G. Wilson v, Oct 22 2001
STATUS
approved