cp's OEIS Frontend

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.

A341006 Numbers whose sum of even digits and sum of odd digits differ by 5.

This page as a plain text file.
%I A341006 #13 Feb 22 2021 12:41:21
%S A341006 5,16,27,38,49,50,61,72,83,94,106,113,124,131,142,160,207,214,229,236,
%T A341006 241,258,263,270,285,292,308,311,326,344,362,380,409,412,421,434,443,
%U A341006 456,465,478,487,490,500,528,546,564,582,601,610,623,632,645,654,667,676,689,698,702
%N A341006 Numbers whose sum of even digits and sum of odd digits differ by 5.
%H A341006 Carole Dubois, <a href="/A341006/b341006.txt">Table of n, a(n) for n = 1..5001</a>
%t A341006 Select[Range[1000], Abs[Plus @@ Select[(d = IntegerDigits[#]), OddQ] - Plus @@ Select[d, EvenQ]] == 5 &] (* _Amiram Eldar_, Feb 02 2021 *)
%Y A341006 Cf. A036301 (sums are equal), A341002 to A341010 (sums differ by 1 to 9).
%K A341006 base,nonn
%O A341006 1,1
%A A341006 _Eric Angelini_ and _Carole Dubois_, Feb 02 2021