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

 


A037866
a(n)=(number of digits <=3)-(number of digits >3) in base 7 representation of n.
0
1, 1, 1, -1, -1, -1, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, -2, -2, -2, 0, 0, 0, 0, -2, -2, -2, 0, 0, 0, 0, -2, -2, -2, 3, 3, 3, 3, 1, 1, 1, 3, 3, 3, 3, 1, 1, 1, 3, 3, 3, 3, 1, 1, 1, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, 1
OFFSET
0,7
MATHEMATICA
d37[n_]:=Module[{d=IntegerDigits[n, 7]}, Count[d, _?(#<4&)]-Count[d, _?(#>3&)]]; Array[d37, 90, 0] (* Harvey P. Dale, Jun 28 2022 *)
CROSSREFS
Sequence in context: A338505 A037867 A122879 * A333181 A306216 A238451
KEYWORD
base,sign
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 24 03:11 EDT 2024. Contains 376185 sequences. (Running on oeis4.)