login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037417 Positive integers n such that the set of base-3 digits of n equals the set of base-5 digits of n. 1

%I

%S 1,2,7,30,35,51,55,60,127,132,135,136,137,157,161,175,176,177,185,251,

%T 257,261,275,276,277,285,301,305,627,632,636,652,657,660,661,662,675,

%U 676,677,680,681,682,685,686,687,752,756,761,762,777,785,800,801,802

%N Positive integers n such that the set of base-3 digits of n equals the set of base-5 digits of n.

%H Rémy Sigrist, <a href="/A037417/b037417.txt">Table of n, a(n) for n = 1..10000</a>

%t Select[Range[1000],Union[IntegerDigits[#,5]]==Union[IntegerDigits[#,3]]&] (* _Harvey P. Dale_, Aug 21 2013 *)

%o (PARI) isok(n) = Set(digits(n, 3)) == Set(digits(n, 5)); \\ _Michel Marcus_, Jan 22 2017

%K nonn,base

%O 1,2

%A _Clark Kimberling_

%E More terms from _Don Reble_, Apr 28 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 22 00:25 EDT 2019. Contains 323472 sequences. (Running on oeis4.)