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.

Previous Showing 11-12 of 12 results.

A210019 In base 8, numbers n which have 8 distinct digits, do not start with 0, and have property that the product (written in base 8) of any two adjacent digits is a substring of n.

Original entry on oeis.org

14326057, 14326075, 26057143, 26075143, 26143057, 26143075, 50714326, 51432607, 51462307, 57014326, 57026143, 57061432, 57062143, 57143026, 57143062, 57143206, 57143260, 60571432, 60751432, 61432057, 61432075, 62057143, 62075143, 62143057, 62143075, 70514326, 71432605, 71462305, 72305164, 73046125, 73064125, 75014326, 75026143, 75061432, 75062143, 75143026, 75143062, 75143206, 75143260
Offset: 1

Views

Author

N. J. A. Sloane, Mar 16 2012

Keywords

Comments

Computed by Jean-Paul Davalan.
The analog in base 2 is 10; in base 3, 102,120,201,210.

Crossrefs

A generalization of A198298. Cf. A210013-A210020, A203569, A203566.

A272552 Numbers n such that n*prime(n) is a pandigital number containing digits 0-9 exactly once.

Original entry on oeis.org

11376, 14562, 15057, 15723, 16659, 20421, 21330, 24867, 28494, 28746
Offset: 1

Views

Author

K. D. Bajpai, May 02 2016

Keywords

Examples

			11376 appears in the list because 11376 * prime(11376) = 1375028496 that contains digits 0-9 only once.
15057 appears in the list because 15057 * prime(15057) = 2476108593 that contains digits 0-9 only once.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[100000], Sort@IntegerDigits[# Prime@#] == Range[0, 9] &]
  • PARI
    isok(n) = my(d = digits(n*prime(n))); (#d == 10) && (#vecsort(d,,8) == 10); \\ Michel Marcus, May 02 2016
    
  • Python
    from sympy import prime
    from numpy import sort
    for n in range(10000,30000):
       num=sort(list(str(n*prime(n))))
       res=''.join(num)
       if(res=='0123456789'):print(n)
    # Soumil Mandal, May 04 2016
Previous Showing 11-12 of 12 results.