OFFSET
1,2
COMMENTS
a(n) is a multiple of n and a divisor of n!.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000 (terms 1..150 from Daniel Zhu)
T. Chinburg and M. Henriksen, Sums of k-th powers in the ring of polynomials with integer coefficients, Bull. Amer. Math. Soc. 81 (1975), 107-110.
T. Chinburg and M. Henriksen, Sums of k-th powers in the ring of polynomials with integer coefficients, Acta Arith. 29 (1976), 227-250.
Daniel G. Zhu, A correction to a result of Chinburg and Henriksen on powers of integer polynomials, arXiv:2402.10121 [math.NT], 2024.
FORMULA
a(n) = n*A005729(n)
EXAMPLE
a(2) = 2. Since 2x = (x+1)^2 - x^2 - 1, we know a(2) <= 2. Also, a(2) cannot be 1 since the x coefficient of the square of an integer polynomial must be even.
PROG
(Python)
from itertools import count
from sympy import nextprime
def A370252(n):
c, p = n, 2
while p < n:
if n%p:
for m in count(2):
if (p**m-1)//(p-1) > n:
break
for r in count(1):
q = (p**(m*r)-1)//(p**r-1)
if q > n:
break
if not n % q:
c *= p
break
else:
continue
if q <= n:
break
else:
c *= p if p&1 or n%6 else p**2
p = nextprime(p)
return c # Chai Wah Wu, Mar 10 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Daniel Zhu, Feb 17 2024
STATUS
approved