login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A337175 Number of pairs of divisors of n, (d1,d2), such that d1 <= d2 and d1*d2 < n. 3
0, 1, 1, 2, 1, 4, 1, 4, 2, 4, 1, 9, 1, 4, 4, 6, 1, 9, 1, 9, 4, 4, 1, 16, 2, 4, 4, 9, 1, 16, 1, 9, 4, 4, 4, 20, 1, 4, 4, 16, 1, 16, 1, 9, 9, 4, 1, 25, 2, 9, 4, 9, 1, 16, 4, 16, 4, 4, 1, 36, 1, 4, 9, 12, 4, 16, 1, 9, 4, 16, 1, 36, 1, 4, 9, 9, 4, 16, 1, 25, 6, 4, 1, 36, 4, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = Sum_{d1|n, d2|n} (1 - sign(floor(d1*d2/n))).
a(n) = tau^2/4 if tau is even and a(n) = (tau-1)*(tau+1)/4 if tau is odd, where tau = A000005(n) is the number of divisors of n, i.e., a(n) = A002620(A000005(n)) = floor(A000005(n)^2/4). - Chai Wah Wu, Jan 29 2021
EXAMPLE
a(9) = 2; (1,1), (1,3).
a(10) = 4; (1,1), (1,2), (1,5), (2,2).
a(11) = 1; (1,1).
a(12) = 9; (1,1), (1,2), (1,3), (1,4), (1,6), (2,2), (2,3), (2,4), (3,3).
MATHEMATICA
Table[Sum[Sum[(1 - Sign[Floor[i*k/n]]) (1 - Ceiling[n/k] + Floor[n/k]) (1 - Ceiling[n/i] + Floor[n/i]), {i, k}], {k, n}], {n, 80}]
PROG
(Python)
from sympy import divisor_count
def A337175(n):
return divisor_count(n)**2//4 # Chai Wah Wu, Jan 29 2021
CROSSREFS
Sequence in context: A368201 A168177 A216864 * A263432 A286518 A029205
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jan 28 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 18 05:14 EDT 2024. Contains 375995 sequences. (Running on oeis4.)