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.

A341004 Numbers whose sum of even digits and sum of odd digits differ by 3.

This page as a plain text file.
%I A341004 #12 Feb 22 2021 21:19:28
%S A341004 3,14,25,30,36,41,47,52,58,63,69,74,85,96,104,111,122,140,205,212,221,
%T A341004 227,234,243,249,250,256,265,272,278,287,294,300,306,324,342,360,401,
%U A341004 407,410,423,429,432,445,454,467,470,476,489,492,498,502,508,520,526,544,562,580
%N A341004 Numbers whose sum of even digits and sum of odd digits differ by 3.
%H A341004 Carole Dubois, <a href="/A341004/b341004.txt">Table of n, a(n) for n = 1..5001</a>
%t A341004 Select[Range[1000], Abs[Plus @@ Select[(d = IntegerDigits[#]), OddQ] - Plus @@ Select[d, EvenQ]] == 3 &] (* _Amiram Eldar_, Feb 02 2021 *)
%Y A341004 Cf. A036301 (sums are equal), A341002 to A341010 (sums differ by 1 to 9).
%K A341004 base,nonn
%O A341004 1,1
%A A341004 _Eric Angelini_ and _Carole Dubois_, Feb 02 2021