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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061871 |First digit - second digit + third digit - fourth digit ...| = 2. 0
2, 13, 20, 24, 31, 35, 42, 46, 53, 57, 64, 68, 75, 79, 86, 97, 101, 112, 123, 130, 134, 141, 145, 152, 156, 163, 167, 174, 178, 185, 189, 196, 200, 211, 222, 233, 240, 244, 251, 255, 262, 266, 273, 277, 284, 288, 295, 299, 310, 321, 332, 343, 350, 354, 361 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

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 ] ] == 2, Print[ n ] ], {n, 1, 1000} ]

CROSSREFS

Cf. A008593, A060978-A060980, A060982, A061470-A061479, A061870-A061882.

Sequence in context: A007355 A105452 A099419 * A084651 A085509 A127485

Adjacent sequences:  A061868 A061869 A061870 * A061872 A061873 A061874

KEYWORD

nonn,base,easy

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), May 10 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 13:02 EST 2012. Contains 205909 sequences.