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!)
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
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
Sequence in context: A144175 A017473 A131191 * A341008 A103571 A365414
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 March 29 10:59 EDT 2024. Contains 371277 sequences. (Running on oeis4.)