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.

A256874 Numbers divisible by prime(d) for each digit d in their base-4 representation, none of which may be zero.

Original entry on oeis.org

6, 15, 30, 42, 90, 102, 150, 255, 342, 426, 510, 618, 630, 666, 678, 750, 870, 990, 1386, 1434, 1446, 1470, 1530, 1626, 1638, 1686, 1710, 1770, 1950, 2010, 2394, 2406, 2430, 2454, 2490, 2550, 2646, 2670, 2730, 2790, 2910, 2970, 3030, 3450, 3510, 3690, 3750, 3930, 3990, 4095, 5466, 5478, 5526, 5550, 5610, 5718, 5790
Offset: 1

Views

Author

M. F. Hasler, Apr 11 2015

Keywords

Comments

Base-4 analog of A256786. See A256875 - A256879 for the base-5, ..., base-9 analogs.
See A256884 for a variant where divisibility by prime(d+1) is required instead.

Crossrefs

Programs

  • PARI
    is(n,b=4)=!for(i=1,#d=Set(digits(n,b)),(!d[i]||n%prime(d[i]))&&return)