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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037867 a(n)=(number of digits <=3)-(number of digits >3) in base 8 representation of n. 0
1, 1, 1, -1, -1, -1, -1, 2, 2, 2, 2, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, -2, -2, -2, -2, 0, 0, 0, 0, -2, -2, -2, -2, 0, 0, 0, 0, -2, -2, -2, -2, 0, 0, 0, 0, -2, -2, -2, -2, 3, 3, 3, 3, 1, 1, 1, 1, 3, 3, 3, 3, 1, 1, 1, 1, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,8

LINKS

Table of n, a(n) for n=0..79.

MATHEMATICA

d8[n_]:=Module[{idn8=IntegerDigits[n, 8], lt4}, lt4=Count[idn8, _?(#<4&)]; 2lt4-Length[idn8]]; Array[d8, 80] (* Harvey P. Dale, Oct 22 2011 *)

CROSSREFS

Sequence in context: A180958 A295854 A230630 * A122879 A037866 A306216

Adjacent sequences:  A037864 A037865 A037866 * A037868 A037869 A037870

KEYWORD

sign,base

AUTHOR

Clark Kimberling

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 22 20:35 EDT 2019. Contains 326186 sequences. (Running on oeis4.)