This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A210524 #16 May 20 2017 17:19:09 %S A210524 0,1,0,3,0,5,0,7,0,9,10,11,10,13,10,15,10,17,10,19,18,19,18,21,18,23, %T A210524 18,25,18,27,30,31,30,33,30,35,30,37,30,39,36,37,36,39,36,41,36,43,36, %U A210524 45,50,51,50,53,50,55,50,57,50,59,54,55,54,57,54,59,54,61 %N A210524 a(n) = n - sum of even digits of n. %C A210524 In even positions there are odd terms. %C A210524 The difference between n and even digits of n and n has odd and even digits gives even terms finishing with 0. %F A210524 a(n) ~ n. a(n) = n mod 2. - _Charles R Greathouse IV_, Jan 28 2013 %e A210524 a(14) = 14 - 4 = 10. %e A210524 a(28) = 28 - 2 - 8 = 18. %t A210524 Table[n-Total[Select[IntegerDigits[n],EvenQ]],{n,0,90}] (* _Harvey P. Dale_, May 20 2017 *) %o A210524 (PARI) a(n) = {digs = digits(n, 10); return (n - sum(i=1, #digs, digs[i]*(1 - (digs[i] % 2))));} \\ _Michel Marcus_, Jul 15 2013 %Y A210524 Cf. A066568. %K A210524 nonn,base,easy %O A210524 0,4 %A A210524 _Marco Piazzalunga_, Jan 27 2013