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

 

Logo


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

0,10

LINKS

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

MATHEMATICA

f[n_]:=Module[{dcn=Partition[RotateRight[DigitCount[n]], 5]}, Total[First[dcn]]-Total[Last[dcn]]]; Array[f, 90] (* Harvey P. Dale, May 17 2011 *)

CROSSREFS

Sequence in context: A308619 A114294 A242050 * A037868 A173069 A059963

Adjacent sequences:  A037866 A037867 A037868 * A037870 A037871 A037872

KEYWORD

base,sign

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 September 22 12:52 EDT 2019. Contains 327307 sequences. (Running on oeis4.)