OFFSET
1,3
LINKS
Barry Cipra, Illustration for a(5) = 17
N. J. A. Sloane, Sketch illustrating a(1) = a(2) = 1, a(3) = 3
Philip Todd, Theorem Discovery Amongst Cyclic Polygons, arXiv:2401.13002 [cs.CG], 2024.
FORMULA
See PARI code for the formula. - Max Alekseyev, Nov 10 2022
PROG
(PARI) { a357442(n) = ( sumdiv(n, d, (n\d)!*d^(n\d)*eulerphi(d)) + n*sum(k=0, n\2, n!\k!\2^k\(n-2*k)!) + if(n%2, n*((n-1)\2)!*2^((n-1)\2) + sumdiv(n, d, eulerphi(d)*sum(k=0, n\d\2, (n\d)! \ (2*k+1)! \ ((n\d-1)\2-k)! * (d/2)^((n\d-1)\2-k) ))) )\n\4; } \\ Max Alekseyev, Nov 10 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 06 2022, based on an email from Barry Cipra, Oct 26 2022
EXTENSIONS
Terms a(7) onward from Max Alekseyev, Nov 10 2022
STATUS
approved