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.

Showing 1-2 of 2 results.

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

Original entry on oeis.org

10, 30, 195, 275, 280, 364, 429, 546, 646, 820, 840, 1000, 1144, 1360, 1560, 1650, 2280, 2370, 2440, 2460, 2640, 2730, 3010, 3740, 4114, 4940, 5236, 5928, 6555, 7800, 8018, 8130, 8850, 8940, 8970, 9030, 9100, 9660, 9730, 9814, 10868, 11050, 11076, 14352, 14700, 14820, 15015, 15420, 18564, 20670, 21090, 21405, 22225
Offset: 1

Views

Author

M. F. Hasler, Apr 11 2015

Keywords

Comments

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

Crossrefs

Programs

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

A256868 Numbers divisible by prime(d+1) for each digit d of their base-8 representation.

Original entry on oeis.org

0, 9, 33, 57, 72, 130, 210, 264, 456, 570, 576, 585, 660, 969, 1040, 1050, 1170, 1365, 1540, 1680, 1995, 2112, 2145, 2508, 2600, 2730, 2860, 2925, 3366, 3648, 3705, 4047, 4104, 4170, 4356, 4488, 4560, 4608, 4620, 4680, 4683, 4809, 4998, 5130, 5250, 5265, 5280, 6825, 7752, 8210, 8320, 8400, 8850, 9240, 9350, 9360, 9555
Offset: 1

Views

Author

M. F. Hasler, Apr 11 2015

Keywords

Comments

The base-8 variant of A256882 - A256884, A256866 - A256870 in bases 2, ..., 10.
A variant of A256878 where digits 0 are forbidden and divisibility by prime(d) is required.

Crossrefs

Programs

  • Mathematica
    Select[Range[0,10000],And@@Divisible[#,Prime[IntegerDigits[#,8]+1]]&] (* Harvey P. Dale, May 06 2015 *)
  • PARI
    is(n,b=8)=!for(i=1,#d=Set(digits(n,b)),n%prime(d[i]+1)&&return)
Showing 1-2 of 2 results.