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!)
A336998 a(n) = n! * Sum_{d|n} 3^(d - 1) / d!. 1
1, 5, 15, 87, 201, 3123, 5769, 148347, 913761, 11541123, 39975849, 2616723387, 6227552241, 230557039443, 4151870901369, 76980002233707, 355687471142721, 27886053280896963, 121645100796252489, 10474674957482235867, 135117295282596928401, 2811664555920692775603 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
E.g.f.: Sum_{k>=1} (exp(3*x^k) - 1) / 3.
a(p) = p! + 3^(p - 1), where p is prime.
MATHEMATICA
Table[n! Sum[3^(d - 1)/d!, {d, Divisors[n]}], {n, 1, 22}]
nmax = 22; CoefficientList[Series[Sum[(Exp[3 x^k] - 1)/3, {k, 1, nmax}], {x, 0, nmax}], x] Range[0, nmax]! // Rest
PROG
(PARI) a(n) = n! * sumdiv(n, d, 3^(d-1)/d!); \\ Michel Marcus, Aug 12 2020
CROSSREFS
Sequence in context: A058820 A054363 A211944 * A276474 A362577 A184438
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 10 2020
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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)