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!)
A214078 a(n) = (ceiling (sqrt(n)))!. 5
1, 1, 2, 2, 2, 6, 6, 6, 6, 6, 24, 24, 24, 24, 24, 24, 24, 120, 120, 120, 120, 120, 120, 120, 120, 120, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 5040, 5040, 5040, 5040, 5040, 5040, 5040, 5040, 5040, 5040, 5040, 5040, 5040, 40320, 40320, 40320 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = A000142(A003059(n)). - Michel Marcus, Jul 28 2022
Sum_{n>=0} 1/a(n) = e + 2. - Amiram Eldar, Aug 15 2022
MATHEMATICA
Table[Ceiling[Sqrt[n]]!, {n, 0, 50}] (* T. D. Noe, Dec 23 2012 *)
PROG
(Derive) PROG(y := [], n := 50, LOOP(IF(n = -1, RETURN y), y := ADJOIN(CEILING(SQRT(n))!, y), n := n - 1))
(Magma) [Factorial(Ceiling (Sqrt(n))): n in [0..50]]; // Vincenzo Librandi, Feb 13 2013
(PARI) a(n) = ceil(sqrt(n))!; \\ Altug Alkan, Jan 11 2016
(Python)
from math import factorial, isqrt
def A214078(n): return factorial(1+isqrt(n-1)) if n else 1 # Chai Wah Wu, Jul 28 2022
CROSSREFS
Sequence in context: A171698 A339385 A080969 * A155453 A032558 A211512
KEYWORD
easy,nonn
AUTHOR
Mohammad K. Azarian, Dec 22 2012
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 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)