login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A116447 a(2n) = n, a(2n+1) = n!. 0
0, 1, 1, 1, 2, 2, 3, 6, 4, 24, 5, 120, 6, 720, 7, 5040, 8, 40320, 9, 362880, 10, 3628800, 11, 39916800, 12, 479001600, 13, 6227020800, 14, 87178291200, 15, 1307674368000, 16, 20922789888000, 17, 355687428096000, 18, 6402373705728000, 19, 121645100408832000 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

Table of n, a(n) for n=0..39.

MATHEMATICA

Flatten[Table[{n, n!}, {n, 0, 20}]] (* Vincenzo Librandi, Mar 05 2015 *)

With[{nn=20}, Riffle[Range[0, nn], Range[0, nn]!]] (* Harvey P. Dale, Jan 09 2016 *)

PROG

(MAGMA) &cat[[n, Factorial(n)]: n in [0..20]]; // Vincenzo Librandi, Mar 05 2015

CROSSREFS

Cf. A051340.

Sequence in context: A015050 A284222 A207623 * A137757 A210751 A279791

Adjacent sequences:  A116444 A116445 A116446 * A116448 A116449 A116450

KEYWORD

nonn

AUTHOR

Parthasarathy Nambi, Mar 15 2006

EXTENSIONS

More terms from Franklin T. Adams-Watters, Jun 02 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 03:15 EDT 2021. Contains 347623 sequences. (Running on oeis4.)