login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A341161 The sum of the prime digits of m and the sum of the nonprime digits of m differ by n. 1
1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 119, 48, 49, 68, 69, 88, 89, 99, 199, 488, 489, 499, 689, 699, 889, 899, 999, 1999, 4889, 4899, 4999, 6899, 6999, 8899, 8999, 9999, 19999, 48899, 48999, 49999, 68999, 69999, 88999, 89999, 99999, 199999, 488999 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This is the lexicographically earliest sequence of distinct terms > 0 with this property.
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.
LINKS
EXAMPLE
The sequence: 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 119, 48,...
Sum of prime dig. 0 2 3 0 5 0 7 0 0 0 0 0
Sum of nonprimes 1 0 0 4 0 6 0 8 9 10 11 12
Difference (= n) 1 2 3 4 5 6 7 8 9 10 11 12
CROSSREFS
Sequence in context: A274841 A247227 A048410 * A180083 A345142 A275775
KEYWORD
base,nonn
AUTHOR
Carole Dubois and Eric Angelini, Feb 06 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)