The OEIS is supported by the many generous donors to the OEIS Foundation.

 Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A045841 Number of distinct odd numbers formed from the digits of n. 0
 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 2, 2, 4, 2, 4, 2, 4, 2, 4, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 4, 2, 2, 2, 4, 2, 4, 2, 4, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 4, 2, 4, 2, 2, 2, 4, 2, 4, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 4, 2, 4, 2, 4, 2, 2, 2, 4, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 4, 2, 4, 2, 4, 2, 4, 2, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,12 LINKS EXAMPLE a(37)=4 because we can form 3, 7, 37 and 73. MATHEMATICA f[n_]:=Length[Select[FromDigits/@Flatten[Rest[Permutations/@Subsets[IntegerDigits[n]]], 1], OddQ]]; Table[f[i], {i, 0, 100}] (* Harvey P. Dale, Jan 29 2011 *) CROSSREFS Sequence in context: A102641 A054763 A100374 * A040003 A106469 A082508 Adjacent sequences: A045838 A045839 A045840 * A045842 A045843 A045844 KEYWORD nonn,base,easy AUTHOR EXTENSIONS More terms from Erich Friedman 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.

Last modified December 9 11:21 EST 2022. Contains 358700 sequences. (Running on oeis4.)