OFFSET
1,4
LINKS
FORMULA
a(n) = ceiling(d(n)/2) + floor(n/4) if n is even, a(n) = ceiling(d(n)/2) otherwise, where d(n) is the number of divisors of n.
EXAMPLE
a(4) = 3 because there are two rectangles of integer sides of area 4 (2 X 2 and 1 X 4) and one rectangle of integer sides of perimeter 4 (1 X 1).
CROSSREFS
KEYWORD
nonn
AUTHOR
Freddy Barrera, Mar 12 2019
STATUS
approved