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!)
A056819 a(n) = Product_{k|n} (n+1-k). 2
1, 2, 3, 12, 5, 120, 7, 280, 63, 540, 11, 83160, 13, 1456, 2145, 28080, 17, 636480, 19, 1136960, 5985, 5544, 23, 1070845776, 525, 9100, 12825, 6237000, 29, 5320224000, 31, 12226400, 23529, 20196, 31465, 582876756000, 37, 28120, 38961, 44639955360 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(p) = p, for p prime. - Michel Marcus, Sep 30 2016
EXAMPLE
a(6) = (6+1-1) *(6+1-2) *(6+1-3) *(6+1-6) = 6 *5 *4 *1 = 120, since the positive divisors of 6 are 1, 2, 3, 6.
MATHEMATICA
a[n_] := Times @@ ((n + 1 - # &) /@ Divisors[n]); Array[a, 40] (* Jean-François Alcover, Sep 30 2016 *)
PROG
(PARI) a(n) = my(d=divisors(n)); prod(k=1, #d, n+1-d[k]); \\ Michel Marcus, Sep 30 2016
CROSSREFS
Sequence in context: A038610 A334313 A325760 * A124442 A220271 A088611
KEYWORD
nonn,easy
AUTHOR
Leroy Quet, Sep 01 2000
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 April 24 05:49 EDT 2024. Contains 371918 sequences. (Running on oeis4.)