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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A061876 |First digit - second digit + third digit - fourth digit ...| = 7. 1
 7, 18, 29, 70, 81, 92, 106, 117, 128, 139, 180, 191, 205, 216, 227, 238, 249, 290, 304, 315, 326, 337, 348, 359, 403, 414, 425, 436, 447, 458, 469, 502, 513, 524, 535, 546, 557, 568, 579, 601, 612, 623, 634, 645, 656, 667, 678, 689, 700, 711, 722, 733, 744 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Harvey P. Dale, Table of n, a(n) for n = 1..1000 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 ]] == 7, Print[ n ]], {n, 1, 1000} ] Select[Range[1000], Abs[Total[Times@@@Partition[Riffle[IntegerDigits[#], {1, -1}, {2, -1, 2}], 2]]]==7&] (* Harvey P. Dale, Jan 05 2013 *) CROSSREFS Cf. A008593, A060978-A060980, A060982, A061470-A061479, A061870-A061882. Sequence in context: A144175 A017473 A131191 * A341008 A103571 A103572 Adjacent sequences: A061873 A061874 A061875 * A061877 A061878 A061879 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 January 29 19:43 EST 2023. Contains 359926 sequences. (Running on oeis4.)