login
Positive numbers having the same set of digits in base 2 and base 8.
1

%I #16 Apr 23 2021 22:16:06

%S 1,8,64,65,72,512,513,520,521,576,577,584,4096,4097,4104,4105,4160,

%T 4161,4168,4169,4608,4609,4616,4617,4672,4673,4680,32768,32769,32776,

%U 32777,32832,32833,32840,32841,33280,33281,33288,33289,33344,33345,33352

%N Positive numbers having the same set of digits in base 2 and base 8.

%H John Cerkan, <a href="/A037413/b037413.txt">Table of n, a(n) for n = 1..10000</a>

%o (PARI) isok(n) = Set(digits(n, 2)) == Set(digits(n, 8)); \\ _John Cerkan_, Jan 13 2017

%Y Subsequence of A033045.

%K nonn,base

%O 1,2

%A _Clark Kimberling_

%E a(28)-a(42) from _John Cerkan_, Jan 13 2017

%E Name edited by _John Cerkan_, Jan 14 2017