|
|
A156301
|
|
a(n) = ceiling( n * (log_3 2)) = ceiling(n * 0.6309297535714574371...).
|
|
4
|
|
|
0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9, 10, 11, 11, 12, 12, 13, 14, 14, 15, 16, 16, 17, 18, 18, 19, 19, 20, 21, 21, 22, 23, 23, 24, 24, 25, 26, 26, 27, 28, 28, 29, 30, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 36, 37, 38, 38, 39, 40, 40, 41, 42, 42, 43, 43, 44, 45, 45, 46, 47
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
Li an-Ping, A note on the counterfeit coins problem, Feb 7, 2009.
|
|
MAPLE
|
seq(ceil(n*log[3](2)), n=0..120) ; # R. J. Mathar, Mar 14 2009
|
|
MATHEMATICA
|
With[{c=Log[3, 2]}, Ceiling[c*Range[0, 80]]] (* Harvey P. Dale, Aug 07 2015 *)
|
|
PROG
|
(Haskell)
a156301 = ceiling . (* logBase 3 2) . fromIntegral
-- Reinhard Zumkeller, Jul 03 2015
|
|
CROSSREFS
|
Cf. A020915, A102525. - R. J. Mathar, Feb 19 2009
Cf. A136409.
Sequence in context: A005379 A029922 A020915 * A195124 A032509 A322042
Adjacent sequences: A156298 A156299 A156300 * A156302 A156303 A156304
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Jonathan Vos Post, Feb 07 2009
|
|
EXTENSIONS
|
More terms from R. J. Mathar, Mar 14 2009
Edited by N. J. A. Sloane, May 23 2009 at the suggestion of Hagen von Eitzen
|
|
STATUS
|
approved
|
|
|
|