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.

A115923 Numbers k such that k and 3*k, taken together, are pandigital.

Original entry on oeis.org

16794, 17694, 20583, 23058, 30582, 32058
Offset: 1

Views

Author

Giovanni Resta, Feb 06 2006

Keywords

Examples

			16794 and 50382=16794*3 together contain all the 10 digits once.
		

Crossrefs

Programs

  • Mathematica
    pdQ[n_]:=Sort[Flatten[Join[{IntegerDigits[n],IntegerDigits[3n]}]]] == Range[0,9]; Select[Range[10000,99999],pdQ] (* Harvey P. Dale, Jul 07 2012 *)
  • PARI
    {for(n=10234, 49876, #Set(digits(n))==5||next; #Set(digits(n*3))==5 && #Set(concat(digits(n), digits(n*3)))==10 && print1(n", "))} \\ M. F. Hasler, Feb 08 2014