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.

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

Original entry on oeis.org

18, 35, 78, 84, 90, 138, 210, 255, 330, 429, 588, 594, 910, 1098, 1170, 1275, 1386, 1530, 1755, 1820, 1950, 2156, 2275, 2706, 3315, 3510, 3927, 3978, 4746, 4758, 4794, 4900, 4914, 5202, 5610, 5850, 6244, 6300, 6412, 6930, 7254, 7410, 7462, 7566, 8778, 8850, 9042, 9354, 9435, 9492
Offset: 1

Views

Author

M. F. Hasler, Apr 11 2015

Keywords

Comments

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

Crossrefs

Programs

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