A033170 Positive numbers having the same set of digits in base 6 and base 7.
1, 2, 3, 4, 5, 68, 122, 246, 397, 425, 513, 625, 696, 970, 1062, 1167, 1215, 1244, 1251, 1576, 1722, 1787, 1823, 1871, 2406, 2413, 2532, 2574, 2660, 2844, 2851, 2856, 2857, 2858, 2859, 2860, 2861, 2864, 2865, 2872, 2879, 2900, 2954, 3005
Offset: 1
Links
- John Cerkan, Table of n, a(n) for n = 1..10000
Programs
-
PARI
isok(n) = Set(digits(n, 6)) == Set(digits(n, 7)); \\ Michel Marcus, Jan 21 2017
Extensions
Edited by Don Reble, Apr 28 2006
Further edited by N. J. A. Sloane, Jan 17 2009 at the suggestion of R. J. Mathar