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!)
A352547 Numbers having more odd than even digits when written in base 10. 4
1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 31, 33, 35, 37, 39, 51, 53, 55, 57, 59, 71, 73, 75, 77, 79, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 121, 123, 125, 127, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 141, 143, 145, 147, 149, 150, 151, 152, 153, 154, 155 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(PARI) select( {is_A352547(n)=vecsum(n=digits(n)%2)*2>#n}, [0..155])
(Python)
def ok(n): return len(s:=str(n)) > 2*sum(1 for c in s if c in "02468")
print([k for k in range(156) if ok(k)]) # Michael S. Branicky, Jul 03 2022
CROSSREFS
Cf. A072600 (same in base 2).
Cf. A227870, A352546 (numbers with fewer odd than even decimal digits).
Sequence in context: A356845 A225105 A143451 * A014261 A066640 A137507
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Jul 03 2022
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 10 02:43 EDT 2024. Contains 372354 sequences. (Running on oeis4.)