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.

A341161 The sum of the prime digits of m and the sum of the nonprime digits of m differ by n.

This page as a plain text file.
%I A341161 #15 Oct 12 2023 16:39:57
%S A341161 1,2,3,4,5,6,7,8,9,19,119,48,49,68,69,88,89,99,199,488,489,499,689,
%T A341161 699,889,899,999,1999,4889,4899,4999,6899,6999,8899,8999,9999,19999,
%U A341161 48899,48999,49999,68999,69999,88999,89999,99999,199999,488999
%N A341161 The sum of the prime digits of m and the sum of the nonprime digits of m differ by n.
%C A341161 This is the lexicographically earliest sequence of distinct terms > 0 with this property.
%C A341161 The nonprime digits are 0, 1, 4, 6, 8 and 9; the prime digits are 2, 3, 5 and 7. After a(7) = 7 no more terms will show a prime digit.
%H A341161 Carole Dubois, <a href="/A341161/b341161.txt">Table of n, a(n) for n = 1..74</a>
%e A341161 The sequence:     1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 119, 48,...
%e A341161 Sum of prime dig. 0  2  3  0  5  0  7  0  0   0    0   0
%e A341161 Sum of nonprimes  1  0  0  4  0  6  0  8  9  10   11  12
%e A341161 Difference (= n)  1  2  3  4  5  6  7  8  9  10   11  12
%Y A341161 Cf. A085562, A085563, A341011.
%K A341161 base,nonn
%O A341161 1,2
%A A341161 _Carole Dubois_ and _Eric Angelini_, Feb 06 2021