login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A078240
a(n) = smallest multiple of n using only composite digits (0,4,6,8,9).
3
4, 4, 6, 4, 40, 6, 49, 8, 9, 40, 44, 48, 468, 84, 60, 48, 68, 90, 494, 40, 84, 44, 46, 48, 400, 468, 486, 84, 406, 60, 496, 64, 66, 68, 490, 468, 444, 494, 468, 40, 984, 84, 86, 44, 90, 46, 94, 48, 49, 400, 408, 468, 689, 486, 440, 448, 684, 406, 649, 60
OFFSET
1,1
LINKS
PROG
(PARI) a(n)={my(S=Set([1, 2, 3, 5, 7])); forstep(m=n, oo, n, my(d=digits(m)); if(#select(t->setsearch(S, t), d)==0, return(m)))} \\ Andrew Howroyd, Sep 17 2024
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Nov 23 2002
EXTENSIONS
Corrected and extended by Andrew Howroyd, Sep 17 2024
STATUS
approved