The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A343877 Number of pairs (d1, d2) of divisors of n such that d1<d2, d1|n, d2|n, and d1 + d2 <= n. 1
0, 0, 0, 1, 0, 3, 0, 3, 1, 3, 0, 10, 0, 3, 3, 6, 0, 10, 0, 10, 3, 3, 0, 21, 1, 3, 3, 10, 0, 21, 0, 10, 3, 3, 3, 28, 0, 3, 3, 21, 0, 21, 0, 10, 10, 3, 0, 36, 1, 10, 3, 10, 0, 21, 3, 21, 3, 3, 0, 55, 0, 3, 10, 15, 3, 21, 0, 10, 3, 21, 0, 55, 0, 3, 10, 10, 3, 21, 0, 36, 6, 3, 0, 55 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
a(n) = 0 if and only if n is noncomposite.
LINKS
FORMULA
a(n) = Sum_{k=1..floor(n/2)} Sum_{i=1..k-1} c(n/k) * c(n/i), where c(n) = 1 - ceiling(n) + floor(n).
EXAMPLE
a(12) = 10; The 10 pairs are (1,2), (1,3), (1,4), (1,6), (2,3), (2,4), (2,6), (3,4), (3,6), (4,6).
MATHEMATICA
Table[Sum[Sum[(1 - Ceiling[n/k] + Floor[n/k]) (1 - Ceiling[n/i] + Floor[n/i]), {i, k - 1}], {k, Floor[n/2]}], {n, 100}]
PROG
(PARI) a(n) = sumdiv(n, d1, sumdiv(n, d2, if ((d1 < d2) && (d1+d2 <= n), 1))); \\ Michel Marcus, May 02 2021
CROSSREFS
Cf. A343824.
Sequence in context: A307807 A350849 A318504 * A318505 A237595 A322575
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 02 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 June 6 16:10 EDT 2024. Contains 373133 sequences. (Running on oeis4.)