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!)
A241882 Numbers with d digits that are divisible by 2^d and have at most 2 distinct digits: exactly one even digit and at most one odd digit. 1
2, 4, 6, 8, 12, 16, 32, 36, 44, 52, 56, 72, 76, 88, 92, 96, 112, 144, 232, 272, 336, 344, 544, 552, 616, 656, 696, 744, 776, 888, 944, 992, 1616, 1888, 2112, 2272, 2992, 3232, 3344, 3888, 4144, 4544, 4944, 5552, 5888, 6336, 6656, 7744, 7776, 7888, 9696, 9888 (list; graph; refs; listen; history; text; internal format)
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
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
Cf. A035014, A053312-A053318, A053332-A053338, A053376-A053380 (sequences whose union is this sequence).
Sequence in context: A332290 A332293 A181821 * A238626 A168657 A240498
KEYWORD
base,nonn
AUTHOR
J. Lowell, Apr 30 2014
EXTENSIONS
More terms from Michel Marcus, May 02 2014
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 23 07:08 EDT 2024. Contains 372760 sequences. (Running on oeis4.)