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!)
A083187 a(n) = floor(log_3/2(n+1)) - floor(log_3/2(n)). 1
1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) = 1 for n in A002379.
LINKS
PROG
(PARI) for(n=1, 100, print1(floor(log(n+1)/log(3/2))-floor(log(n)/log(3/2))", "))
(PARI)
A002379(n) = ((3^n)>>n); \\ This function from Charles R Greathouse IV, Jun 10 2011
A083187(n) = { my(k=1); while(A002379(k)<n, k++); (A002379(k)==n); }; \\ Antti Karttunen, Dec 15 2017
CROSSREFS
Characteristic function of A002379.
Sequence in context: A093996 A323095 A336868 * A187036 A192490 A267133
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Jun 01 2003
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 24 09:18 EDT 2024. Contains 371935 sequences. (Running on oeis4.)