OFFSET
1,1
COMMENTS
Union of 20 different sequences, all of which are defined as "a(n) contains n digits (either [any odd digit] or [any nonzero even digit] and is divisible by 2^n)."
Subsequence of A050622. - Michel Marcus, May 07 2014
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000
EXAMPLE
24 is not in the sequence because it has distinct even digits.
PROG
(PARI) isok(n) = {digs = digits(n); d = #digs; if (n % 2^d, return (0)); sd = Set(digs); if (#sd > 2, return (0)); if (#sd < 2, return (1)); ((sd[1] % 2) + (sd[2] % 2)) == 1; } \\ Michel Marcus, May 02 2014
CROSSREFS
KEYWORD
base,nonn
AUTHOR
J. Lowell, Apr 30 2014
EXTENSIONS
More terms from Michel Marcus, May 02 2014
STATUS
approved