(Translated by https://www.hiragana.jp/)
The On-Line Encyclopedia of Integer Sequences (OEIS)
login

Revision History for A369873

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) is the constant term in the expansion of Product_{d|n} (x^d + 1/x^d).
(history; published version)
#20 by Alois P. Heinz at Mon Feb 05 18:41:13 EST 2024
STATUS

proposed

approved

#19 by Chai Wah Wu at Mon Feb 05 15:03:10 EST 2024
STATUS

editing

proposed

#18 by Chai Wah Wu at Mon Feb 05 15:03:06 EST 2024
PROG

return c[0] # Chai Wah Wu, Feb 05 2024

#17 by Chai Wah Wu at Mon Feb 05 15:02:58 EST 2024
PROG

(Python)

from collections import Counter

from sympy import divisors

def A369873(n):

c = {0:1}

for d in divisors(n, generator=True):

b = Counter()

for j in c:

a = c[j]

b[j+d] += a

b[j-d] += a

c = b

return c[0] # Chai Wah Wu, Feb 05 2024

STATUS

approved

editing

#16 by N. J. A. Sloane at Sun Feb 04 18:31:12 EST 2024
STATUS

proposed

approved

#15 by Ilya Gutkovskiy at Sun Feb 04 04:29:35 EST 2024
STATUS

editing

proposed

#14 by Ilya Gutkovskiy at Sun Feb 04 04:29:23 EST 2024
FORMULA

From Joerg Arndt, Feb 04 2024: (Start)

a(n) != 0 (only) for n in A083207.

a(n) = 2 * A083206(n). (End)

STATUS

proposed

editing

Discussion
Sun Feb 04
04:29
Ilya Gutkovskiy: Thank you!
#13 by Ilya Gutkovskiy at Sun Feb 04 03:27:17 EST 2024
STATUS

editing

proposed

Discussion
Sun Feb 04
03:48
Joerg Arndt: a(n) != 0 (only) for n in A083207
03:49
Joerg Arndt: a(n) = 2 * A083206(n)
04:11
Ilya Gutkovskiy: Yes, please submit your comments.
#12 by Ilya Gutkovskiy at Sun Feb 04 03:27:07 EST 2024
NAME

a(n) is the constant term in the expansion of Product_{d|n} (x^d + 1/x^d).

STATUS

proposed

editing

#11 by Ilya Gutkovskiy at Sat Feb 03 19:45:34 EST 2024
STATUS

editing

proposed