login
A061879
First (leftmost) digit - second digit + third digit - fourth digit .... = 10.
1
109, 208, 219, 307, 318, 329, 406, 417, 428, 439, 505, 516, 527, 538, 549, 604, 615, 626, 637, 648, 659, 703, 714, 725, 736, 747, 758, 769, 802, 813, 824, 835, 846, 857, 868, 879, 901, 912, 923, 934, 945, 956, 967, 978, 989, 1090, 2080, 2091, 2190, 3070
OFFSET
1,1
COMMENTS
Differs from A060978 at the 47th term.
LINKS
MATHEMATICA
Select[Range[3500], Total[Times@@@Partition[Riffle[IntegerDigits[#], {1, -1}, {2, -1, 2}], 2]]==10&] (* Harvey P. Dale, Apr 30 2016 *)
PROG
(PARI) isok(n) = {digs = digits(n); return (sum(i=1, #digs, (-1)^(i+1)*digs[i]) == 10); } \\ Michel Marcus, Jul 17 2013
KEYWORD
nonn,base,easy
AUTHOR
Larry Reeves (larryr(AT)acm.org), May 15 2001
STATUS
approved