A381699 a(n) is the least nontrivial multiple of 2*n with the least possible number of even digits.
4, 8, 12, 16, 30, 36, 56, 32, 36, 40, 110, 72, 52, 56, 90, 96, 136, 72, 76, 80, 336, 132, 92, 96, 150, 156, 378, 112, 116, 120, 310, 192, 132, 136, 350, 576, 370, 152, 156, 160, 574, 336, 172, 176, 990, 552, 376, 192, 196, 300, 510, 312, 318, 756, 330, 336, 570, 1392, 354, 360, 732, 372, 378
Offset: 1
Examples
a(4) = 16 is the least nontrivial multiple of 8 with only one even digit. a(5) = 30 is the least nontrivial multiple of 10 with only one even digit. a(10) = 40 because 40 is the least nontrivial multiple of 20, and all multiples of 20 will always have (at least) the last two digits even. a(41) = 574 is the least positive multiple of 82 that has only one even digit.
Crossrefs
Programs
-
PARI
apply( {A381699(n, o=valuation(5*n*=2,10))=for(k=2, oo, #[0|d<-digits(n*k)%2, !d]>o|| return(k*n))}, [1..99]) \\ M. F. Hasler, Mar 04 2025
Comments