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.

A279689 Numbers n such that n and 2n are anagrams in more than one base.

Original entry on oeis.org

0, 40, 96, 104, 208, 248, 258, 288, 312, 480, 752, 833, 936, 960, 968, 1170, 1248, 1728, 1755, 2090, 2232, 2400, 2608, 2768, 2808, 2832, 2904, 4224, 4464, 5208, 5280, 5418, 6075, 6584, 6696, 6714, 6720, 6768, 6800, 6966, 7020, 7182, 7200, 7714, 7728, 7776
Offset: 1

Views

Author

Peter Kagey, Dec 17 2016

Keywords

Examples

			a(2) = 40 because 40 and 80 are anagrams in bases 5 and 11.
a(13) = 936 because 936 and 1872 are anagrams in bases 3, 9, and 53.
		

Crossrefs

Cf. A279688.

Programs

  • PARI
    isok(n) = (n==0) || sum(b=2, n, vecsort(digits(n,b)) == vecsort(digits(2*n,b))) > 1; \\ Michel Marcus, Dec 17 2016