login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A090529 a(n) = smallest m such that n <= m!. 2
1, 1, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

Define f(n,k) = floor[n/k]. Let f(n,2)= n_2, f(n_2,3) = n_3, ...f(n_r, r+1) = n_(r+1). a(n) = least value of r so that n_r = 0. E.g. a(10) = 4, 10 ->10/1 ->10 ->10/2 ->5 ->5/3 ->1 ->1/4 ->0 in four steps.

LINKS

Yi Yuan and Zhang Wenpeng, On the Mean Value of the Analogue of Smarandache Function.

EXAMPLE

a(4)=3 because 2!< 4 <=3!, a(24)=4 because 3!< 24 <=4!.

PROG

(PARI) a(n)=if(n<0, 0, p=1; while(p!<n, p++); p)

CROSSREFS

Sequence in context: A093493 A087162 A046925 * A155934 A130822 A194220

Adjacent sequences:  A090526 A090527 A090528 * A090530 A090531 A090532

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Dec 07 2003

EXTENSIONS

Better description and more terms from Zhang Wenpeng (wpzhang(AT)nwu.edu.cn), Mar 29 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 18:41 EST 2012. Contains 206074 sequences.