login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A060980 |First digit - second digit + third digit - fourth digit ...| = 12. 27
309, 408, 419, 507, 518, 529, 606, 617, 628, 639, 705, 716, 727, 738, 749, 804, 815, 826, 837, 848, 859, 903, 914, 925, 936, 947, 958, 969, 1409, 1508, 1519, 1607, 1618, 1629, 1706, 1717, 1728, 1739, 1805, 1816, 1827, 1838, 1849, 1904, 1915, 1926, 1937 (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 ] ] == 12, Print[ n ] ], {n, 1, 2000} ]

Select[Range[2000], Abs[Total[Times@@@Partition[Riffle[IntegerDigits[#], {1, -1}, {2, -1, 2}], 2]]]==12&] (* Harvey P. Dale, Sep 12 2017 *)

CROSSREFS

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

Sequence in context: A091552 A159004 A031782 * A061881 A121322 A067730

Adjacent sequences:  A060977 A060978 A060979 * A060981 A060982 A060983

KEYWORD

base,nonn,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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 8 01:41 EST 2021. Contains 341934 sequences. (Running on oeis4.)