login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
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

Antti Karttunen, Table of n, a(n) for n = 1..65537

Index entries for characteristic functions

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

Adjacent sequences: A083184 A083185 A083186 * A083188 A083189 A083190

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 December 5 02:30 EST 2022. Contains 358572 sequences. (Running on oeis4.)