OFFSET
1,3
COMMENTS
In the ambiguous case, fractions are rounded up.
FORMULA
a(n) = round (n / A000005(n)).
EXAMPLE
a(1) = round (1 / 1) = 1;
a(4) = round (4 / 3) = 1;
a(5) = round (5 / 2) = 3;
MATHEMATICA
Table[Floor[n/DivisorSigma[0, n]+1/2], {n, 100}] (* Harvey P. Dale, Dec 22 2022 *)
PROG
(Python)
from sympy import divisor_count
def A355140(n): return (2*n+(d:=divisor_count(n)))//(2*d) # Chai Wah Wu, Jun 20 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Sameer Khan, Jun 20 2022
STATUS
approved