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.

A037410 Positive numbers having the same set of digits in base 2 and base 5.

Original entry on oeis.org

1, 5, 25, 26, 30, 31, 125, 126, 130, 131, 150, 151, 155, 625, 626, 630, 631, 650, 651, 655, 656, 750, 751, 755, 756, 775, 776, 780, 3125, 3126, 3130, 3131, 3150, 3151, 3155, 3156, 3250, 3251, 3255, 3256, 3275, 3276, 3280, 3281
Offset: 1

Views

Author

Keywords

Crossrefs

Subsequence of A033042.

Programs

  • Mathematica
    Select[Range[3500],Union[IntegerDigits[#,2]]==Union[IntegerDigits[#,5]]&] (* Harvey P. Dale, May 08 2025 *)
  • PARI
    isok(n) = Set(digits(n, 2)) == Set(digits(n, 5)); \\ Michel Marcus, Jan 11 2017