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!)
A061872 |First digit - second digit + third digit - fourth digit ...| = 3. 1
3, 14, 25, 30, 36, 41, 47, 52, 58, 63, 69, 74, 85, 96, 102, 113, 124, 135, 140, 146, 151, 157, 162, 168, 173, 179, 184, 195, 201, 212, 223, 234, 245, 250, 256, 261, 267, 272, 278, 283, 289, 294, 300, 311, 322, 333, 344, 355, 360, 366, 371, 377, 382, 388, 393 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Do[ a = IntegerDigits[ n ]; l = Length[ a ]; e = o = {}; Do[ o = Append[ o, a[ [ 2k - 1 ] ] ], {k, 1, l/2 + .5} ]; Do[ e = Append[ e, a[ [ 2k ] ] ], {k, 1, l/2} ]; If[ Abs[ Apply[ Plus, o ] - Apply[ Plus, e ] ] == 3, Print[ n ] ], {n, 1, 1000} ]
fdsdQ[n_]:=Module[{idn=IntegerDigits[n], o, e}, o=Take[idn, {1, -1, 2}]; e= Take[ idn, {2, -1, 2}]; Abs[Total[o]-Total[e]]==3]; Select[Range[400], fdsdQ] (* Harvey P. Dale, Nov 01 2011 *)
CROSSREFS
Sequence in context: A019003 A019033 A171789 * A341004 A017425 A302758
KEYWORD
nonn,base,easy
AUTHOR
Robert G. Wilson v, May 10 2001
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 April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)