The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A283870 For all n, the set consisting of the terms {a(1), a(2), a(3), ..., a(n)} has an odd number or 0 of digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. 2
1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 1001, 1010, 1100, 1111, 1122, 1133, 1144, 1155, 1166, 1177, 1188, 1199, 1212, 1221, 1313, 1331, 1414, 1441, 1515, 1551, 1616, 1661, 1717, 1771, 1818, 1881, 1919, 1991, 2002, 2020, 2112, 2121, 2200, 2211, 2222, 2233, 2244, 2255, 2266, 2277, 2288 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The sequence is started with a(1) = 1 and always extended with the smallest integer not yet present and not leading to a contradiction.
LINKS
FORMULA
a(n) = A283871(n-10) for n >= 20. - Robert Israel, Jan 07 2024
EXAMPLE
The set consisting of the first 20 terms is {1,2,3,4,5,6,7,8,9,11,22,33,44,55,66,77,88,99,101,1001}; we count three 0's, seven 1's, three 2's, three 3's, three 4's, etc. All those quantities of digits are odd numbers.
MAPLE
filter:= proc(n) local L; L:= convert(n, base, 10);
andmap(t -> numboccur(t, L)::even, L) end proc:
1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, op(select(filter, [$1000..9999])); # Robert Israel, Jan 07 2024
CROSSREFS
Cf. A283871.
Sequence in context: A109882 A109872 A030285 * A175688 A048321 A071267
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Definition corrected by Robert Israel, Jan 07 2024
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 May 17 15:32 EDT 2024. Contains 372603 sequences. (Running on oeis4.)