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!)
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
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: A230630 A343957 A338505 * A122879 A037866 A333181
KEYWORD
sign,base
AUTHOR
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 June 30 08:10 EDT 2024. Contains 373861 sequences. (Running on oeis4.)