cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A078240 a(n) = smallest multiple of n using only composite digits (0,4,6,8,9).

Original entry on oeis.org

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

Views

Author

Amarnath Murthy, Nov 23 2002

Keywords

Crossrefs

Programs

  • 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

Extensions

Corrected and extended by Andrew Howroyd, Sep 17 2024