login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037417 Positive numbers having the same set of digits in base 3 and base 5. 1
1, 2, 7, 30, 35, 51, 55, 60, 127, 132, 135, 136, 137, 157, 161, 175, 176, 177, 185, 251, 257, 261, 275, 276, 277, 285, 301, 305, 627, 632, 636, 652, 657, 660, 661, 662, 675, 676, 677, 680, 681, 682, 685, 686, 687, 752, 756, 761, 762, 777, 785, 800, 801, 802 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MAPLE
q:= n-> (f-> is(f(3)=f(5)))(k-> {convert(n, base, k)[]}):
select(q, [$1..1000])[]; # Alois P. Heinz, Oct 30 2020
MATHEMATICA
Select[Range[1000], Union[IntegerDigits[#, 5]]==Union[IntegerDigits[#, 3]]&] (* Harvey P. Dale, Aug 21 2013 *)
PROG
(PARI) isok(n) = Set(digits(n, 3)) == Set(digits(n, 5)); \\ Michel Marcus, Jan 22 2017
CROSSREFS
Sequence in context: A093034 A125174 A270526 * A042913 A041805 A173233
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Don Reble, Apr 28 2006
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:41 EDT 2024. Contains 371906 sequences. (Running on oeis4.)