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!)
A363832 Number of digits left of the radix point of n when written in base e using a greedy algorithm representation. 3
1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Essentially the same as A004233. - R. J. Mathar, Oct 23 2023
LINKS
FORMULA
a(0) = 1; for n >= 1, a(n) = floor(log_e(n)) + 1.
EXAMPLE
a(10) = 3 because 10 in base e (102.11201...) has 3 digits before the radix point.
MATHEMATICA
A363832[n_]:=Floor[Log[E, Max[n, 1]]]+1; Array[A363832, 100, 0]
CROSSREFS
Sequence in context: A077430 A105513 A004233 * A130259 A068549 A132173
KEYWORD
nonn,base
AUTHOR
Paolo Xausa, Oct 19 2023
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 July 17 20:28 EDT 2024. Contains 374377 sequences. (Running on oeis4.)