The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 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; text; internal format)
 OFFSET 1,1 LINKS Table of n, a(n) for n=1..55. 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: A105452 A219278 A099419 * A182459 A333216 A303669 Adjacent sequences: A061868 A061869 A061870 * A061872 A061873 A061874 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.

Last modified May 26 16:22 EDT 2024. Contains 372840 sequences. (Running on oeis4.)