OFFSET
1,1
COMMENTS
Old name was: Even numbers such that some permutation of digits is an odd number.
a(n) = A179083(n) for n <= 30. - Reinhard Zumkeller, Jun 28 2010
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
F. Smarandache, Only Problems, Not Solutions!
FORMULA
a(n) ~ 2n. - Charles R Greathouse IV, Oct 23 2015
MATHEMATICA
Select[2*Range[100], Or@@OddQ[IntegerDigits[#]]&] (* Harvey P. Dale, Apr 01 2013 *)
PROG
(PARI) is(n)=n%2==0 && vecsum(Set(digits(n)%2)) \\ Charles R Greathouse IV, Oct 23 2015
(Python)
def ok(n): return n%2 == 0 and set(str(n)) & set("13579") != set()
print(list(filter(ok, range(163)))) # Michael S. Branicky, Oct 12 2021
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
R. Muller
EXTENSIONS
New name from Charles R Greathouse IV, Feb 14 2017, based on comment from Harvey P. Dale, Apr 01 2013
STATUS
approved