OFFSET
0,3
COMMENTS
These are the numbers that would arise if the Moessner construction on page 64 of Conway-Guy's "Book of Numbers" were extended to the fifth powers.
REFERENCES
J. H. Conway and R. K. Guy, The Book of Numbers, Copernicus Press, NY, 1996. See pp. 63-64.
MAPLE
f:=proc(n, b) local i;
for i from 0 to b-1 do
if ((n+i) mod b) = 0 then return(binomial(b, i+1)*((n+i)/b)^(i+1)); fi;
od;
end;
[seq(f(n, 5), n=0..80)];
PROG
(Python)
from sympy import binomial
def A346007(n):
i = (5-n)%5
return binomial(5, i+1)*((n+i)//5)**(i+1) # Chai Wah Wu, Jul 25 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 25 2021
STATUS
approved