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!)
A258198 a(n) = largest k for which A001563(k) = k*k! <= n. 7

%I #11 Jun 05 2015 03:54:49

%S 0,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,

%T 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,

%U 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4

%N a(n) = largest k for which A001563(k) = k*k! <= n.

%C Number of nonzero terms of A001563 <= n.

%C Each n occurs A001564(n) times.

%H Antti Karttunen, <a href="/A258198/b258198.txt">Table of n, a(n) for n = 0..4320</a>

%o (Scheme) (define (A258198 n) (let loop ((k 1) (f 1)) (if (> (* k f) n) (- k 1) (loop (+ k 1) (* (+ k 1) f)))))

%Y Cf. A001563, A001564, A084556, A084557, A256450, A258199.

%K nonn

%O 0,5

%A _Antti Karttunen_, May 23 2015

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 10:11 EDT 2024. Contains 371935 sequences. (Running on oeis4.)