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!)
A249945 a(n) = n! + 3^n. 2
2, 4, 11, 33, 105, 363, 1449, 7227, 46881, 382563, 3687849, 40093947, 479533041, 6228615123, 87183074169, 1307688716907, 20922832934721, 355687557236163, 6402374093148489, 121645101571093467, 2432902011663424401, 51090942182169793203, 1124000727808988739609 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = n! + 3^n.
a(n) = A000142(n) + A000244(n).
E.g.f.: 1/(1-x) + exp(3*x). - Alois P. Heinz, Aug 29 2022
MAPLE
A249945:=n->3^n+n!: seq(A249945(n), n=0..25); # Wesley Ivan Hurt, Nov 14 2014
MATHEMATICA
Table[3^n + n!, {n, 20}] (* Alonso del Arte, Nov 09 2014 *)
PROG
(PARI) vector(10, n, 3^n + n!) \\ Derek Orr, Nov 14 2014
(Magma) [3^n+Factorial(n) : n in [0..25]]; // Wesley Ivan Hurt, Nov 14 2014
CROSSREFS
Sequence in context: A192405 A035354 A220902 * A208799 A340329 A268323
KEYWORD
nonn,easy
AUTHOR
Max Alweiss, Nov 08 2014
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 March 19 01:57 EDT 2024. Contains 370952 sequences. (Running on oeis4.)