Simplification of numbersIs this n-speak?How strong are nonary numbers?Mixed Base Conversionxkcd-Style Page NumberingAddition in base -1+iWhat base is this number in?Pronounce numbersFind the longest run of consecutive digitsNumbers Increase While Letters DecreaseIntegers in Base PiPrint the Lost numbers

How can God warn people of the upcoming rapture without disrupting society?

Normalization constant of a planar wave

Boss wants me to ignore a software license

Generate Brainfuck for the numbers 1–255

These were just lying around

A torrent of foreign terms

A Non Math Puzzle. What is the middle number?

Super Duper Vdd stiffening required on 555 timer, what is the best way?

What should I call bands of armed men in the Middle Ages?

How can Radagast come across Gandalf and Thorin's company?

If a digital camera can be "hacked" in the ransomware sense, how best to protect it?

Annotating a table with arrows

Not going forward with internship interview process

Do beef farmed pastures net remove carbon emissions?

Is this n-speak?

Lengthened voiced stops and the airstream through the nose

Submitting a new paper just after another was accepted by the same journal

What gave Harry Potter the idea of writing in Tom Riddle's diary?

Loading military units into ships optimally, using backtracking

TEMPO: play a sound in animated GIF/PDF/SVG

Can a PC use the Levitate spell to avoid movement speed reduction from exhaustion?

Understanding the point of a kölsche Witz

What ability do tools use?

Why command hierarchy, if the chain of command is standing next to each other?



Simplification of numbers


Is this n-speak?How strong are nonary numbers?Mixed Base Conversionxkcd-Style Page NumberingAddition in base -1+iWhat base is this number in?Pronounce numbersFind the longest run of consecutive digitsNumbers Increase While Letters DecreaseIntegers in Base PiPrint the Lost numbers






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








9












$begingroup$


How, you can’t remember the 6 or 7-digit phone number that appeared on the TV screen for a second?! Using the special technique described below, you will turn into a walking phonebook!



Obviously, the number 402 is easier to remember than the number 110010010, and the number 337377 is easier to remember than the number 957472.
This means that the memorized number, on the one hand, should contain as few digits as possible, and on the other hand, it is desirable that the number contains as many repeating numbers as possible.



As a criterion for the difficulty of remembering, we take the sum of the number of digits in number and the number of different digits in number. A memorized number can be written in another number system, perhaps then it will be easier to remember. For example, the number 65535 in the hexadecimal notation looks like FFFF.



Task



You need to write a program for selecting the base of the number system to minimize the complexity criterion. The base of the number system must be selected in the range from 2 to 36, then the numbers 0-9 and the English letters A-Z can be used to represent the number.



Input



The input contains a decimal integer from 1 to 999999999.



Output



The output must contain the base of the number system (from 2 to 36), minimizing the criterion of memorization complexity, and the number in the selected number system, separated by one space. If several bases give the same value for the criterion, then choose the smallest among them.



Notes



  • The letters must be uppercase(A-Z).

Test Cases



Input       Output



1              2 1



2              3 2



65535       16 FFFF



123          12 A3










share|improve this question









New contributor



Ver Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$









  • 11




    $begingroup$
    Great challenge, but it needs more test cases.
    $endgroup$
    – Grimy
    13 hours ago






  • 6




    $begingroup$
    Also, the output format is a bit too strict, you might want to allow e.g. an array of two elements, the base and the string, or allowing them in reverse order or separated by another character. Also, I assume that you add the sum of the digits to the number of digits, but you may want to clarify that.
    $endgroup$
    – Erik the Outgolfer
    13 hours ago







  • 7




    $begingroup$
    Can I use a-z instead of A-Z?
    $endgroup$
    – Neil
    13 hours ago






  • 3




    $begingroup$
    Can we just use the corresponding numbers instead of A-Z?
    $endgroup$
    – flawr
    13 hours ago






  • 5




    $begingroup$
    @VerNick Next time you write a similar challenge I would suggest allowing both these requests, as they are just an unnecessary complication which are discouraged: see e.g. here.
    $endgroup$
    – flawr
    10 hours ago

















9












$begingroup$


How, you can’t remember the 6 or 7-digit phone number that appeared on the TV screen for a second?! Using the special technique described below, you will turn into a walking phonebook!



Obviously, the number 402 is easier to remember than the number 110010010, and the number 337377 is easier to remember than the number 957472.
This means that the memorized number, on the one hand, should contain as few digits as possible, and on the other hand, it is desirable that the number contains as many repeating numbers as possible.



As a criterion for the difficulty of remembering, we take the sum of the number of digits in number and the number of different digits in number. A memorized number can be written in another number system, perhaps then it will be easier to remember. For example, the number 65535 in the hexadecimal notation looks like FFFF.



Task



You need to write a program for selecting the base of the number system to minimize the complexity criterion. The base of the number system must be selected in the range from 2 to 36, then the numbers 0-9 and the English letters A-Z can be used to represent the number.



Input



The input contains a decimal integer from 1 to 999999999.



Output



The output must contain the base of the number system (from 2 to 36), minimizing the criterion of memorization complexity, and the number in the selected number system, separated by one space. If several bases give the same value for the criterion, then choose the smallest among them.



Notes



  • The letters must be uppercase(A-Z).

Test Cases



Input       Output



1              2 1



2              3 2



65535       16 FFFF



123          12 A3










share|improve this question









New contributor



Ver Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$









  • 11




    $begingroup$
    Great challenge, but it needs more test cases.
    $endgroup$
    – Grimy
    13 hours ago






  • 6




    $begingroup$
    Also, the output format is a bit too strict, you might want to allow e.g. an array of two elements, the base and the string, or allowing them in reverse order or separated by another character. Also, I assume that you add the sum of the digits to the number of digits, but you may want to clarify that.
    $endgroup$
    – Erik the Outgolfer
    13 hours ago







  • 7




    $begingroup$
    Can I use a-z instead of A-Z?
    $endgroup$
    – Neil
    13 hours ago






  • 3




    $begingroup$
    Can we just use the corresponding numbers instead of A-Z?
    $endgroup$
    – flawr
    13 hours ago






  • 5




    $begingroup$
    @VerNick Next time you write a similar challenge I would suggest allowing both these requests, as they are just an unnecessary complication which are discouraged: see e.g. here.
    $endgroup$
    – flawr
    10 hours ago













9












9








9


3



$begingroup$


How, you can’t remember the 6 or 7-digit phone number that appeared on the TV screen for a second?! Using the special technique described below, you will turn into a walking phonebook!



Obviously, the number 402 is easier to remember than the number 110010010, and the number 337377 is easier to remember than the number 957472.
This means that the memorized number, on the one hand, should contain as few digits as possible, and on the other hand, it is desirable that the number contains as many repeating numbers as possible.



As a criterion for the difficulty of remembering, we take the sum of the number of digits in number and the number of different digits in number. A memorized number can be written in another number system, perhaps then it will be easier to remember. For example, the number 65535 in the hexadecimal notation looks like FFFF.



Task



You need to write a program for selecting the base of the number system to minimize the complexity criterion. The base of the number system must be selected in the range from 2 to 36, then the numbers 0-9 and the English letters A-Z can be used to represent the number.



Input



The input contains a decimal integer from 1 to 999999999.



Output



The output must contain the base of the number system (from 2 to 36), minimizing the criterion of memorization complexity, and the number in the selected number system, separated by one space. If several bases give the same value for the criterion, then choose the smallest among them.



Notes



  • The letters must be uppercase(A-Z).

Test Cases



Input       Output



1              2 1



2              3 2



65535       16 FFFF



123          12 A3










share|improve this question









New contributor



Ver Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$




How, you can’t remember the 6 or 7-digit phone number that appeared on the TV screen for a second?! Using the special technique described below, you will turn into a walking phonebook!



Obviously, the number 402 is easier to remember than the number 110010010, and the number 337377 is easier to remember than the number 957472.
This means that the memorized number, on the one hand, should contain as few digits as possible, and on the other hand, it is desirable that the number contains as many repeating numbers as possible.



As a criterion for the difficulty of remembering, we take the sum of the number of digits in number and the number of different digits in number. A memorized number can be written in another number system, perhaps then it will be easier to remember. For example, the number 65535 in the hexadecimal notation looks like FFFF.



Task



You need to write a program for selecting the base of the number system to minimize the complexity criterion. The base of the number system must be selected in the range from 2 to 36, then the numbers 0-9 and the English letters A-Z can be used to represent the number.



Input



The input contains a decimal integer from 1 to 999999999.



Output



The output must contain the base of the number system (from 2 to 36), minimizing the criterion of memorization complexity, and the number in the selected number system, separated by one space. If several bases give the same value for the criterion, then choose the smallest among them.



Notes



  • The letters must be uppercase(A-Z).

Test Cases



Input       Output



1              2 1



2              3 2



65535       16 FFFF



123          12 A3







code-golf number base-conversion






share|improve this question









New contributor



Ver Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



Ver Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 8 hours ago







Ver Nick













New contributor



Ver Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 14 hours ago









Ver NickVer Nick

1725 bronze badges




1725 bronze badges




New contributor



Ver Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Ver Nick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • 11




    $begingroup$
    Great challenge, but it needs more test cases.
    $endgroup$
    – Grimy
    13 hours ago






  • 6




    $begingroup$
    Also, the output format is a bit too strict, you might want to allow e.g. an array of two elements, the base and the string, or allowing them in reverse order or separated by another character. Also, I assume that you add the sum of the digits to the number of digits, but you may want to clarify that.
    $endgroup$
    – Erik the Outgolfer
    13 hours ago







  • 7




    $begingroup$
    Can I use a-z instead of A-Z?
    $endgroup$
    – Neil
    13 hours ago






  • 3




    $begingroup$
    Can we just use the corresponding numbers instead of A-Z?
    $endgroup$
    – flawr
    13 hours ago






  • 5




    $begingroup$
    @VerNick Next time you write a similar challenge I would suggest allowing both these requests, as they are just an unnecessary complication which are discouraged: see e.g. here.
    $endgroup$
    – flawr
    10 hours ago












  • 11




    $begingroup$
    Great challenge, but it needs more test cases.
    $endgroup$
    – Grimy
    13 hours ago






  • 6




    $begingroup$
    Also, the output format is a bit too strict, you might want to allow e.g. an array of two elements, the base and the string, or allowing them in reverse order or separated by another character. Also, I assume that you add the sum of the digits to the number of digits, but you may want to clarify that.
    $endgroup$
    – Erik the Outgolfer
    13 hours ago







  • 7




    $begingroup$
    Can I use a-z instead of A-Z?
    $endgroup$
    – Neil
    13 hours ago






  • 3




    $begingroup$
    Can we just use the corresponding numbers instead of A-Z?
    $endgroup$
    – flawr
    13 hours ago






  • 5




    $begingroup$
    @VerNick Next time you write a similar challenge I would suggest allowing both these requests, as they are just an unnecessary complication which are discouraged: see e.g. here.
    $endgroup$
    – flawr
    10 hours ago







11




11




$begingroup$
Great challenge, but it needs more test cases.
$endgroup$
– Grimy
13 hours ago




$begingroup$
Great challenge, but it needs more test cases.
$endgroup$
– Grimy
13 hours ago




6




6




$begingroup$
Also, the output format is a bit too strict, you might want to allow e.g. an array of two elements, the base and the string, or allowing them in reverse order or separated by another character. Also, I assume that you add the sum of the digits to the number of digits, but you may want to clarify that.
$endgroup$
– Erik the Outgolfer
13 hours ago





$begingroup$
Also, the output format is a bit too strict, you might want to allow e.g. an array of two elements, the base and the string, or allowing them in reverse order or separated by another character. Also, I assume that you add the sum of the digits to the number of digits, but you may want to clarify that.
$endgroup$
– Erik the Outgolfer
13 hours ago





7




7




$begingroup$
Can I use a-z instead of A-Z?
$endgroup$
– Neil
13 hours ago




$begingroup$
Can I use a-z instead of A-Z?
$endgroup$
– Neil
13 hours ago




3




3




$begingroup$
Can we just use the corresponding numbers instead of A-Z?
$endgroup$
– flawr
13 hours ago




$begingroup$
Can we just use the corresponding numbers instead of A-Z?
$endgroup$
– flawr
13 hours ago




5




5




$begingroup$
@VerNick Next time you write a similar challenge I would suggest allowing both these requests, as they are just an unnecessary complication which are discouraged: see e.g. here.
$endgroup$
– flawr
10 hours ago




$begingroup$
@VerNick Next time you write a similar challenge I would suggest allowing both these requests, as they are just an unnecessary complication which are discouraged: see e.g. here.
$endgroup$
– flawr
10 hours ago










14 Answers
14






active

oldest

votes


















5












$begingroup$


Python 2, 150 149 127 144 bytes





lambda n:min((len(c(n,b))+len(set(c(n,b))),b,c(n,b))for b in range(2,37))[1:]
c=lambda n,b,s='':n and c(n/b,b,chr(n%b+48+7*(n%b>9))+s)or s or'0'


Try it online!





Python 3, 136 bytes





lambda n:min((len((*c(n,b),**c(n,b))),b,c(n,b))for b in range(2,37))[1:]
c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


Try it online!





Python 3.8 (pre-release), 131 bytes





lambda n:min((len((*(x:=c(n,b)),**x)),b,x)for b in range(2,37))[1:]
c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


Try it online!




c converts a base 10 number to any base (2-36), and the first (anonymous) function finds the smallest result.






share|improve this answer











$endgroup$






















    4












    $begingroup$


    05AB1E, 16 14 bytes



    -1 byte thanks to Kevin Cruijssen



    ₆LBāøΣнDÙìg}1è


    Try it online!



    Or add R)» at the end to conform exactly to the specified output format, but most other answers didn't bother.



    Explanation:



    ₆L # range 1..36
    B # convert the input to each of those bases
    āø # enumerate (pair each element with its 1-based index)
    Σ } # sort by
    g # length
    н # of the first element
    ì # concatenated to
    DÙ # itself, uniquified
    1è # take the second entry (first will always be base 1)





    share|improve this answer











    $endgroup$










    • 1




      $begingroup$
      -1 byte by using ₆L©B®ø instead of ₆LεBy‚}
      $endgroup$
      – Kevin Cruijssen
      12 hours ago






    • 1




      $begingroup$
      @KevinCruijssen Thanks! Another -1 by using ā, seems like you always forget about that one.
      $endgroup$
      – Grimy
      12 hours ago










    • $begingroup$
      Lol, I indeed do.. I remembered it with this challenge earlier today, not that it helped in any way, haha xD
      $endgroup$
      – Kevin Cruijssen
      12 hours ago







    • 2




      $begingroup$
      This doesn't seem to comply with the strict output requirements such as "separated by one space".
      $endgroup$
      – recursive
      7 hours ago


















    4












    $begingroup$


    Japt v2.0a0 -gS, 24 23 bytes



    Not pretty, but it does the job. +2 bytes for the completely unnecessary requirement that output be uppercase.



    37o2@sX u ¸iXÃñÈÌiXÌâ)l


    Try it



    37o2@sX u ¸iXÃñÈÌiXÌâ)l :Implicit input of integer
    37o2 :Range [2,37)
    @ :Map
    sX : Convert the input to a base-X string
    u : Uppercase
    ¸ : Split on spaces (there are none, so this returns a singleton array)
    iX : Prepend X
    Ã :End map
    ñ :Sort by
    È :Pass each X through the following function
    Ì : Last element of X
    i : Prepend
    XÌâ : Last element of X, deduplicated
    ) : End prepend
    l : Length
    :Implicit output of the first sub-array, joined with spaces





    share|improve this answer











    $endgroup$














    • $begingroup$
      Yes, it works nice, but the letters must be uppercase.
      $endgroup$
      – Ver Nick
      8 hours ago






    • 1




      $begingroup$
      @VerNick, why? That adds absolutely nothing to the challenge.
      $endgroup$
      – Shaggy
      8 hours ago










    • $begingroup$
      ...I guess the next thing will be "separated by one space". Seems the output format has been made very strict on this challenge, and from the comments does not look like it will change.
      $endgroup$
      – Jonathan Allan
      7 hours ago










    • $begingroup$
      @JonathanAllan, luckily I can "fix" that one with a change of flag.
      $endgroup$
      – Shaggy
      7 hours ago


















    2












    $begingroup$

    JavaScript (ES6),  87 85  101 bytes



    Edit: +16 useless bytes to comply with the strict output format





    n=>(g=m=>--b>2?g(m<(v=new Set(s=n.toString(b)).size+s.length)?m:(o=b+' '+s.toUpperCase(),v)):o)(b=37)


    Try it online!






    share|improve this answer











    $endgroup$














    • $begingroup$
      Ah, I missed that part
      $endgroup$
      – TFeld
      12 hours ago


















    2












    $begingroup$


    Charcoal, 38 bytes



    Nθ≔EE³⁴↨θ⁺²ιL⁺ιΦι⁼λ⌕ικη≔⁺²⌕η⌊ηηIη ↥⍘θη


    Try it online! Link is to verbose version of code. Explanation:



    Nθ


    Input the integer.



    ≔EE³⁴↨θ⁺²ι


    Convert it from base 2 to base 36...



    L⁺ιΦι⁼λ⌕ικη


    ... deduplicate, concatenate, and take the length.



    ≔⁺²⌕η⌊ηη


    Take the index of the minimum complexity and add 2 to get the base.



    Iη ↥⍘θη


    Print the base and the integer converted to that base in upper case.






    share|improve this answer











    $endgroup$






















      2












      $begingroup$


      Stax, 19 bytes



      Ç╛;ⁿY3█↕(╖S♪*ò▌?½╦l


      Run and debug it



      No fancy algorithm, just straightforward brute force. About a third of the program is format-wrangling for the precise output rules.



      Bonus program: Output for [1..1000]






      share|improve this answer











      $endgroup$






















        2












        $begingroup$


        Jelly, 25 bytes



        bⱮ36µQL+LN)Mḟ1Ḣ,ị‘ịØBʋ¥⁸K


        Try it online!



        A monadic link taking an integer as its argument and returning a Jelly string of the desired format. If a two-item list was acceptable output (as per most challenges), could save 2 bytes. If base 1 were acceptable for the edge case of 1 as input, could save a further 2 bytes.






        share|improve this answer









        $endgroup$






















          1












          $begingroup$


          Japt v2.0a0, 32 bytes



          T=2o37 ñ@sX Ê+UsX â ÊÃÎT+S+UsT u


          Can save two bytes if I can reverse the order, and can save 2 more if uppercase wasn't required.



          Try it






          share|improve this answer









          $endgroup$






















            1












            $begingroup$


            Perl 5, 161 bytes





            sub f$X=99;for$b(2..36)$_=c($_[0],$b);$x=uniq(/./g)+y///c;($X,$B,$C)=($x,$b,$_)if$x<$X$B,$C
            sub cmy($n,$b)=@_;$n?c(int$n/$b,$b).chr(48+$n%$b+7*($n%$b>9)):''


            Try it online!






            share|improve this answer









            $endgroup$






















              1












              $begingroup$


              Wolfram Language (Mathematica), 109 bytes



              Print[a=OrderingBy[#~IntegerDigits~Range@36,Tr[1^#]+Tr[1^Union@#]&][[1]]," ",ToUpperCase[#~IntegerString~a]]&


              OrderingBy was introduced in Mathematica 12.0, which TIO does not seem to have updated to yet.






              share|improve this answer









              $endgroup$














              • $begingroup$
                "If several bases give the same value for the criterion, then choose the smallest among them.": OrderingBy doesn't conform to this requirement.
                $endgroup$
                – Roman
                6 hours ago










              • $begingroup$
                Maybe something with MinimalBy, like this?
                $endgroup$
                – Roman
                6 hours ago



















              1












              $begingroup$


              PHP, 124 119 bytes





              for($i=36;$b=strtoupper(base_convert($argn,10,--$i));$o[strlen($b.count_chars($b,3))]="$i $b");krsort($o);echo end($o);


              Try it online!



              A shame about the +12 bytes in PHP to uppercase the output... but... anyway.






              share|improve this answer











              $endgroup$






















                0












                $begingroup$


                Perl 6, 55 bytes





                ~map($^b,.base($b),2..36).min:.[*]+.Seto*[1].comb


                Try it online!






                share|improve this answer









                $endgroup$






















                  0












                  $begingroup$


                  Python 2, 140 135 bytes





                  lambda n:min([(b,g(n,b))for b in range(2,36)],key=lambda(b,s):len(s)+len(set(s)))
                  g=lambda n,b:n and g(n/b,b)+chr(n%b+48+7*(n%b>9))or''


                  Try it online!






                  share|improve this answer









                  $endgroup$






















                    0












                    $begingroup$


                    Brachylog, 44 bytes



                    ∧Y≜∧36≥Xℕ₂≜&ḃ↙X Zd,Zl≡Y∧XwṢwZ-₁₀;Ạụᵗ∋₍ᵐwᵐ


                    Try it online!



                    This hurt a bit to write.






                    share|improve this answer









                    $endgroup$

















                      Your Answer






                      StackExchange.ifUsing("editor", function ()
                      StackExchange.using("externalEditor", function ()
                      StackExchange.using("snippets", function ()
                      StackExchange.snippets.init();
                      );
                      );
                      , "code-snippets");

                      StackExchange.ready(function()
                      var channelOptions =
                      tags: "".split(" "),
                      id: "200"
                      ;
                      initTagRenderer("".split(" "), "".split(" "), channelOptions);

                      StackExchange.using("externalEditor", function()
                      // Have to fire editor after snippets, if snippets enabled
                      if (StackExchange.settings.snippets.snippetsEnabled)
                      StackExchange.using("snippets", function()
                      createEditor();
                      );

                      else
                      createEditor();

                      );

                      function createEditor()
                      StackExchange.prepareEditor(
                      heartbeatType: 'answer',
                      autoActivateHeartbeat: false,
                      convertImagesToLinks: false,
                      noModals: true,
                      showLowRepImageUploadWarning: true,
                      reputationToPostImages: null,
                      bindNavPrevention: true,
                      postfix: "",
                      imageUploader:
                      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                      allowUrls: true
                      ,
                      onDemand: true,
                      discardSelector: ".discard-answer"
                      ,immediatelyShowMarkdownHelp:true
                      );



                      );






                      Ver Nick is a new contributor. Be nice, and check out our Code of Conduct.









                      draft saved

                      draft discarded


















                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodegolf.stackexchange.com%2fquestions%2f189786%2fsimplification-of-numbers%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown

























                      14 Answers
                      14






                      active

                      oldest

                      votes








                      14 Answers
                      14






                      active

                      oldest

                      votes









                      active

                      oldest

                      votes






                      active

                      oldest

                      votes









                      5












                      $begingroup$


                      Python 2, 150 149 127 144 bytes





                      lambda n:min((len(c(n,b))+len(set(c(n,b))),b,c(n,b))for b in range(2,37))[1:]
                      c=lambda n,b,s='':n and c(n/b,b,chr(n%b+48+7*(n%b>9))+s)or s or'0'


                      Try it online!





                      Python 3, 136 bytes





                      lambda n:min((len((*c(n,b),**c(n,b))),b,c(n,b))for b in range(2,37))[1:]
                      c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


                      Try it online!





                      Python 3.8 (pre-release), 131 bytes





                      lambda n:min((len((*(x:=c(n,b)),**x)),b,x)for b in range(2,37))[1:]
                      c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


                      Try it online!




                      c converts a base 10 number to any base (2-36), and the first (anonymous) function finds the smallest result.






                      share|improve this answer











                      $endgroup$



















                        5












                        $begingroup$


                        Python 2, 150 149 127 144 bytes





                        lambda n:min((len(c(n,b))+len(set(c(n,b))),b,c(n,b))for b in range(2,37))[1:]
                        c=lambda n,b,s='':n and c(n/b,b,chr(n%b+48+7*(n%b>9))+s)or s or'0'


                        Try it online!





                        Python 3, 136 bytes





                        lambda n:min((len((*c(n,b),**c(n,b))),b,c(n,b))for b in range(2,37))[1:]
                        c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


                        Try it online!





                        Python 3.8 (pre-release), 131 bytes





                        lambda n:min((len((*(x:=c(n,b)),**x)),b,x)for b in range(2,37))[1:]
                        c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


                        Try it online!




                        c converts a base 10 number to any base (2-36), and the first (anonymous) function finds the smallest result.






                        share|improve this answer











                        $endgroup$

















                          5












                          5








                          5





                          $begingroup$


                          Python 2, 150 149 127 144 bytes





                          lambda n:min((len(c(n,b))+len(set(c(n,b))),b,c(n,b))for b in range(2,37))[1:]
                          c=lambda n,b,s='':n and c(n/b,b,chr(n%b+48+7*(n%b>9))+s)or s or'0'


                          Try it online!





                          Python 3, 136 bytes





                          lambda n:min((len((*c(n,b),**c(n,b))),b,c(n,b))for b in range(2,37))[1:]
                          c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


                          Try it online!





                          Python 3.8 (pre-release), 131 bytes





                          lambda n:min((len((*(x:=c(n,b)),**x)),b,x)for b in range(2,37))[1:]
                          c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


                          Try it online!




                          c converts a base 10 number to any base (2-36), and the first (anonymous) function finds the smallest result.






                          share|improve this answer











                          $endgroup$




                          Python 2, 150 149 127 144 bytes





                          lambda n:min((len(c(n,b))+len(set(c(n,b))),b,c(n,b))for b in range(2,37))[1:]
                          c=lambda n,b,s='':n and c(n/b,b,chr(n%b+48+7*(n%b>9))+s)or s or'0'


                          Try it online!





                          Python 3, 136 bytes





                          lambda n:min((len((*c(n,b),**c(n,b))),b,c(n,b))for b in range(2,37))[1:]
                          c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


                          Try it online!





                          Python 3.8 (pre-release), 131 bytes





                          lambda n:min((len((*(x:=c(n,b)),**x)),b,x)for b in range(2,37))[1:]
                          c=lambda n,b,s='':n and c(n//b,b,chr(n%b+48+7*(n%b>9))+s)or s


                          Try it online!




                          c converts a base 10 number to any base (2-36), and the first (anonymous) function finds the smallest result.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited 12 hours ago

























                          answered 13 hours ago









                          TFeldTFeld

                          18.1k3 gold badges14 silver badges57 bronze badges




                          18.1k3 gold badges14 silver badges57 bronze badges


























                              4












                              $begingroup$


                              05AB1E, 16 14 bytes



                              -1 byte thanks to Kevin Cruijssen



                              ₆LBāøΣнDÙìg}1è


                              Try it online!



                              Or add R)» at the end to conform exactly to the specified output format, but most other answers didn't bother.



                              Explanation:



                              ₆L # range 1..36
                              B # convert the input to each of those bases
                              āø # enumerate (pair each element with its 1-based index)
                              Σ } # sort by
                              g # length
                              н # of the first element
                              ì # concatenated to
                              DÙ # itself, uniquified
                              1è # take the second entry (first will always be base 1)





                              share|improve this answer











                              $endgroup$










                              • 1




                                $begingroup$
                                -1 byte by using ₆L©B®ø instead of ₆LεBy‚}
                                $endgroup$
                                – Kevin Cruijssen
                                12 hours ago






                              • 1




                                $begingroup$
                                @KevinCruijssen Thanks! Another -1 by using ā, seems like you always forget about that one.
                                $endgroup$
                                – Grimy
                                12 hours ago










                              • $begingroup$
                                Lol, I indeed do.. I remembered it with this challenge earlier today, not that it helped in any way, haha xD
                                $endgroup$
                                – Kevin Cruijssen
                                12 hours ago







                              • 2




                                $begingroup$
                                This doesn't seem to comply with the strict output requirements such as "separated by one space".
                                $endgroup$
                                – recursive
                                7 hours ago















                              4












                              $begingroup$


                              05AB1E, 16 14 bytes



                              -1 byte thanks to Kevin Cruijssen



                              ₆LBāøΣнDÙìg}1è


                              Try it online!



                              Or add R)» at the end to conform exactly to the specified output format, but most other answers didn't bother.



                              Explanation:



                              ₆L # range 1..36
                              B # convert the input to each of those bases
                              āø # enumerate (pair each element with its 1-based index)
                              Σ } # sort by
                              g # length
                              н # of the first element
                              ì # concatenated to
                              DÙ # itself, uniquified
                              1è # take the second entry (first will always be base 1)





                              share|improve this answer











                              $endgroup$










                              • 1




                                $begingroup$
                                -1 byte by using ₆L©B®ø instead of ₆LεBy‚}
                                $endgroup$
                                – Kevin Cruijssen
                                12 hours ago






                              • 1




                                $begingroup$
                                @KevinCruijssen Thanks! Another -1 by using ā, seems like you always forget about that one.
                                $endgroup$
                                – Grimy
                                12 hours ago










                              • $begingroup$
                                Lol, I indeed do.. I remembered it with this challenge earlier today, not that it helped in any way, haha xD
                                $endgroup$
                                – Kevin Cruijssen
                                12 hours ago







                              • 2




                                $begingroup$
                                This doesn't seem to comply with the strict output requirements such as "separated by one space".
                                $endgroup$
                                – recursive
                                7 hours ago













                              4












                              4








                              4





                              $begingroup$


                              05AB1E, 16 14 bytes



                              -1 byte thanks to Kevin Cruijssen



                              ₆LBāøΣнDÙìg}1è


                              Try it online!



                              Or add R)» at the end to conform exactly to the specified output format, but most other answers didn't bother.



                              Explanation:



                              ₆L # range 1..36
                              B # convert the input to each of those bases
                              āø # enumerate (pair each element with its 1-based index)
                              Σ } # sort by
                              g # length
                              н # of the first element
                              ì # concatenated to
                              DÙ # itself, uniquified
                              1è # take the second entry (first will always be base 1)





                              share|improve this answer











                              $endgroup$




                              05AB1E, 16 14 bytes



                              -1 byte thanks to Kevin Cruijssen



                              ₆LBāøΣнDÙìg}1è


                              Try it online!



                              Or add R)» at the end to conform exactly to the specified output format, but most other answers didn't bother.



                              Explanation:



                              ₆L # range 1..36
                              B # convert the input to each of those bases
                              āø # enumerate (pair each element with its 1-based index)
                              Σ } # sort by
                              g # length
                              н # of the first element
                              ì # concatenated to
                              DÙ # itself, uniquified
                              1è # take the second entry (first will always be base 1)






                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited 8 hours ago

























                              answered 13 hours ago









                              GrimyGrimy

                              5,28915 silver badges28 bronze badges




                              5,28915 silver badges28 bronze badges










                              • 1




                                $begingroup$
                                -1 byte by using ₆L©B®ø instead of ₆LεBy‚}
                                $endgroup$
                                – Kevin Cruijssen
                                12 hours ago






                              • 1




                                $begingroup$
                                @KevinCruijssen Thanks! Another -1 by using ā, seems like you always forget about that one.
                                $endgroup$
                                – Grimy
                                12 hours ago










                              • $begingroup$
                                Lol, I indeed do.. I remembered it with this challenge earlier today, not that it helped in any way, haha xD
                                $endgroup$
                                – Kevin Cruijssen
                                12 hours ago







                              • 2




                                $begingroup$
                                This doesn't seem to comply with the strict output requirements such as "separated by one space".
                                $endgroup$
                                – recursive
                                7 hours ago












                              • 1




                                $begingroup$
                                -1 byte by using ₆L©B®ø instead of ₆LεBy‚}
                                $endgroup$
                                – Kevin Cruijssen
                                12 hours ago






                              • 1




                                $begingroup$
                                @KevinCruijssen Thanks! Another -1 by using ā, seems like you always forget about that one.
                                $endgroup$
                                – Grimy
                                12 hours ago










                              • $begingroup$
                                Lol, I indeed do.. I remembered it with this challenge earlier today, not that it helped in any way, haha xD
                                $endgroup$
                                – Kevin Cruijssen
                                12 hours ago







                              • 2




                                $begingroup$
                                This doesn't seem to comply with the strict output requirements such as "separated by one space".
                                $endgroup$
                                – recursive
                                7 hours ago







                              1




                              1




                              $begingroup$
                              -1 byte by using ₆L©B®ø instead of ₆LεBy‚}
                              $endgroup$
                              – Kevin Cruijssen
                              12 hours ago




                              $begingroup$
                              -1 byte by using ₆L©B®ø instead of ₆LεBy‚}
                              $endgroup$
                              – Kevin Cruijssen
                              12 hours ago




                              1




                              1




                              $begingroup$
                              @KevinCruijssen Thanks! Another -1 by using ā, seems like you always forget about that one.
                              $endgroup$
                              – Grimy
                              12 hours ago




                              $begingroup$
                              @KevinCruijssen Thanks! Another -1 by using ā, seems like you always forget about that one.
                              $endgroup$
                              – Grimy
                              12 hours ago












                              $begingroup$
                              Lol, I indeed do.. I remembered it with this challenge earlier today, not that it helped in any way, haha xD
                              $endgroup$
                              – Kevin Cruijssen
                              12 hours ago





                              $begingroup$
                              Lol, I indeed do.. I remembered it with this challenge earlier today, not that it helped in any way, haha xD
                              $endgroup$
                              – Kevin Cruijssen
                              12 hours ago





                              2




                              2




                              $begingroup$
                              This doesn't seem to comply with the strict output requirements such as "separated by one space".
                              $endgroup$
                              – recursive
                              7 hours ago




                              $begingroup$
                              This doesn't seem to comply with the strict output requirements such as "separated by one space".
                              $endgroup$
                              – recursive
                              7 hours ago











                              4












                              $begingroup$


                              Japt v2.0a0 -gS, 24 23 bytes



                              Not pretty, but it does the job. +2 bytes for the completely unnecessary requirement that output be uppercase.



                              37o2@sX u ¸iXÃñÈÌiXÌâ)l


                              Try it



                              37o2@sX u ¸iXÃñÈÌiXÌâ)l :Implicit input of integer
                              37o2 :Range [2,37)
                              @ :Map
                              sX : Convert the input to a base-X string
                              u : Uppercase
                              ¸ : Split on spaces (there are none, so this returns a singleton array)
                              iX : Prepend X
                              Ã :End map
                              ñ :Sort by
                              È :Pass each X through the following function
                              Ì : Last element of X
                              i : Prepend
                              XÌâ : Last element of X, deduplicated
                              ) : End prepend
                              l : Length
                              :Implicit output of the first sub-array, joined with spaces





                              share|improve this answer











                              $endgroup$














                              • $begingroup$
                                Yes, it works nice, but the letters must be uppercase.
                                $endgroup$
                                – Ver Nick
                                8 hours ago






                              • 1




                                $begingroup$
                                @VerNick, why? That adds absolutely nothing to the challenge.
                                $endgroup$
                                – Shaggy
                                8 hours ago










                              • $begingroup$
                                ...I guess the next thing will be "separated by one space". Seems the output format has been made very strict on this challenge, and from the comments does not look like it will change.
                                $endgroup$
                                – Jonathan Allan
                                7 hours ago










                              • $begingroup$
                                @JonathanAllan, luckily I can "fix" that one with a change of flag.
                                $endgroup$
                                – Shaggy
                                7 hours ago















                              4












                              $begingroup$


                              Japt v2.0a0 -gS, 24 23 bytes



                              Not pretty, but it does the job. +2 bytes for the completely unnecessary requirement that output be uppercase.



                              37o2@sX u ¸iXÃñÈÌiXÌâ)l


                              Try it



                              37o2@sX u ¸iXÃñÈÌiXÌâ)l :Implicit input of integer
                              37o2 :Range [2,37)
                              @ :Map
                              sX : Convert the input to a base-X string
                              u : Uppercase
                              ¸ : Split on spaces (there are none, so this returns a singleton array)
                              iX : Prepend X
                              Ã :End map
                              ñ :Sort by
                              È :Pass each X through the following function
                              Ì : Last element of X
                              i : Prepend
                              XÌâ : Last element of X, deduplicated
                              ) : End prepend
                              l : Length
                              :Implicit output of the first sub-array, joined with spaces





                              share|improve this answer











                              $endgroup$














                              • $begingroup$
                                Yes, it works nice, but the letters must be uppercase.
                                $endgroup$
                                – Ver Nick
                                8 hours ago






                              • 1




                                $begingroup$
                                @VerNick, why? That adds absolutely nothing to the challenge.
                                $endgroup$
                                – Shaggy
                                8 hours ago










                              • $begingroup$
                                ...I guess the next thing will be "separated by one space". Seems the output format has been made very strict on this challenge, and from the comments does not look like it will change.
                                $endgroup$
                                – Jonathan Allan
                                7 hours ago










                              • $begingroup$
                                @JonathanAllan, luckily I can "fix" that one with a change of flag.
                                $endgroup$
                                – Shaggy
                                7 hours ago













                              4












                              4








                              4





                              $begingroup$


                              Japt v2.0a0 -gS, 24 23 bytes



                              Not pretty, but it does the job. +2 bytes for the completely unnecessary requirement that output be uppercase.



                              37o2@sX u ¸iXÃñÈÌiXÌâ)l


                              Try it



                              37o2@sX u ¸iXÃñÈÌiXÌâ)l :Implicit input of integer
                              37o2 :Range [2,37)
                              @ :Map
                              sX : Convert the input to a base-X string
                              u : Uppercase
                              ¸ : Split on spaces (there are none, so this returns a singleton array)
                              iX : Prepend X
                              Ã :End map
                              ñ :Sort by
                              È :Pass each X through the following function
                              Ì : Last element of X
                              i : Prepend
                              XÌâ : Last element of X, deduplicated
                              ) : End prepend
                              l : Length
                              :Implicit output of the first sub-array, joined with spaces





                              share|improve this answer











                              $endgroup$




                              Japt v2.0a0 -gS, 24 23 bytes



                              Not pretty, but it does the job. +2 bytes for the completely unnecessary requirement that output be uppercase.



                              37o2@sX u ¸iXÃñÈÌiXÌâ)l


                              Try it



                              37o2@sX u ¸iXÃñÈÌiXÌâ)l :Implicit input of integer
                              37o2 :Range [2,37)
                              @ :Map
                              sX : Convert the input to a base-X string
                              u : Uppercase
                              ¸ : Split on spaces (there are none, so this returns a singleton array)
                              iX : Prepend X
                              Ã :End map
                              ñ :Sort by
                              È :Pass each X through the following function
                              Ì : Last element of X
                              i : Prepend
                              XÌâ : Last element of X, deduplicated
                              ) : End prepend
                              l : Length
                              :Implicit output of the first sub-array, joined with spaces






                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited 7 hours ago

























                              answered 10 hours ago









                              ShaggyShaggy

                              20.9k3 gold badges20 silver badges70 bronze badges




                              20.9k3 gold badges20 silver badges70 bronze badges














                              • $begingroup$
                                Yes, it works nice, but the letters must be uppercase.
                                $endgroup$
                                – Ver Nick
                                8 hours ago






                              • 1




                                $begingroup$
                                @VerNick, why? That adds absolutely nothing to the challenge.
                                $endgroup$
                                – Shaggy
                                8 hours ago










                              • $begingroup$
                                ...I guess the next thing will be "separated by one space". Seems the output format has been made very strict on this challenge, and from the comments does not look like it will change.
                                $endgroup$
                                – Jonathan Allan
                                7 hours ago










                              • $begingroup$
                                @JonathanAllan, luckily I can "fix" that one with a change of flag.
                                $endgroup$
                                – Shaggy
                                7 hours ago
















                              • $begingroup$
                                Yes, it works nice, but the letters must be uppercase.
                                $endgroup$
                                – Ver Nick
                                8 hours ago






                              • 1




                                $begingroup$
                                @VerNick, why? That adds absolutely nothing to the challenge.
                                $endgroup$
                                – Shaggy
                                8 hours ago










                              • $begingroup$
                                ...I guess the next thing will be "separated by one space". Seems the output format has been made very strict on this challenge, and from the comments does not look like it will change.
                                $endgroup$
                                – Jonathan Allan
                                7 hours ago










                              • $begingroup$
                                @JonathanAllan, luckily I can "fix" that one with a change of flag.
                                $endgroup$
                                – Shaggy
                                7 hours ago















                              $begingroup$
                              Yes, it works nice, but the letters must be uppercase.
                              $endgroup$
                              – Ver Nick
                              8 hours ago




                              $begingroup$
                              Yes, it works nice, but the letters must be uppercase.
                              $endgroup$
                              – Ver Nick
                              8 hours ago




                              1




                              1




                              $begingroup$
                              @VerNick, why? That adds absolutely nothing to the challenge.
                              $endgroup$
                              – Shaggy
                              8 hours ago




                              $begingroup$
                              @VerNick, why? That adds absolutely nothing to the challenge.
                              $endgroup$
                              – Shaggy
                              8 hours ago












                              $begingroup$
                              ...I guess the next thing will be "separated by one space". Seems the output format has been made very strict on this challenge, and from the comments does not look like it will change.
                              $endgroup$
                              – Jonathan Allan
                              7 hours ago




                              $begingroup$
                              ...I guess the next thing will be "separated by one space". Seems the output format has been made very strict on this challenge, and from the comments does not look like it will change.
                              $endgroup$
                              – Jonathan Allan
                              7 hours ago












                              $begingroup$
                              @JonathanAllan, luckily I can "fix" that one with a change of flag.
                              $endgroup$
                              – Shaggy
                              7 hours ago




                              $begingroup$
                              @JonathanAllan, luckily I can "fix" that one with a change of flag.
                              $endgroup$
                              – Shaggy
                              7 hours ago











                              2












                              $begingroup$

                              JavaScript (ES6),  87 85  101 bytes



                              Edit: +16 useless bytes to comply with the strict output format





                              n=>(g=m=>--b>2?g(m<(v=new Set(s=n.toString(b)).size+s.length)?m:(o=b+' '+s.toUpperCase(),v)):o)(b=37)


                              Try it online!






                              share|improve this answer











                              $endgroup$














                              • $begingroup$
                                Ah, I missed that part
                                $endgroup$
                                – TFeld
                                12 hours ago















                              2












                              $begingroup$

                              JavaScript (ES6),  87 85  101 bytes



                              Edit: +16 useless bytes to comply with the strict output format





                              n=>(g=m=>--b>2?g(m<(v=new Set(s=n.toString(b)).size+s.length)?m:(o=b+' '+s.toUpperCase(),v)):o)(b=37)


                              Try it online!






                              share|improve this answer











                              $endgroup$














                              • $begingroup$
                                Ah, I missed that part
                                $endgroup$
                                – TFeld
                                12 hours ago













                              2












                              2








                              2





                              $begingroup$

                              JavaScript (ES6),  87 85  101 bytes



                              Edit: +16 useless bytes to comply with the strict output format





                              n=>(g=m=>--b>2?g(m<(v=new Set(s=n.toString(b)).size+s.length)?m:(o=b+' '+s.toUpperCase(),v)):o)(b=37)


                              Try it online!






                              share|improve this answer











                              $endgroup$



                              JavaScript (ES6),  87 85  101 bytes



                              Edit: +16 useless bytes to comply with the strict output format





                              n=>(g=m=>--b>2?g(m<(v=new Set(s=n.toString(b)).size+s.length)?m:(o=b+' '+s.toUpperCase(),v)):o)(b=37)


                              Try it online!







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited 10 hours ago

























                              answered 13 hours ago









                              ArnauldArnauld

                              89.7k7 gold badges104 silver badges366 bronze badges




                              89.7k7 gold badges104 silver badges366 bronze badges














                              • $begingroup$
                                Ah, I missed that part
                                $endgroup$
                                – TFeld
                                12 hours ago
















                              • $begingroup$
                                Ah, I missed that part
                                $endgroup$
                                – TFeld
                                12 hours ago















                              $begingroup$
                              Ah, I missed that part
                              $endgroup$
                              – TFeld
                              12 hours ago




                              $begingroup$
                              Ah, I missed that part
                              $endgroup$
                              – TFeld
                              12 hours ago











                              2












                              $begingroup$


                              Charcoal, 38 bytes



                              Nθ≔EE³⁴↨θ⁺²ιL⁺ιΦι⁼λ⌕ικη≔⁺²⌕η⌊ηηIη ↥⍘θη


                              Try it online! Link is to verbose version of code. Explanation:



                              Nθ


                              Input the integer.



                              ≔EE³⁴↨θ⁺²ι


                              Convert it from base 2 to base 36...



                              L⁺ιΦι⁼λ⌕ικη


                              ... deduplicate, concatenate, and take the length.



                              ≔⁺²⌕η⌊ηη


                              Take the index of the minimum complexity and add 2 to get the base.



                              Iη ↥⍘θη


                              Print the base and the integer converted to that base in upper case.






                              share|improve this answer











                              $endgroup$



















                                2












                                $begingroup$


                                Charcoal, 38 bytes



                                Nθ≔EE³⁴↨θ⁺²ιL⁺ιΦι⁼λ⌕ικη≔⁺²⌕η⌊ηηIη ↥⍘θη


                                Try it online! Link is to verbose version of code. Explanation:



                                Nθ


                                Input the integer.



                                ≔EE³⁴↨θ⁺²ι


                                Convert it from base 2 to base 36...



                                L⁺ιΦι⁼λ⌕ικη


                                ... deduplicate, concatenate, and take the length.



                                ≔⁺²⌕η⌊ηη


                                Take the index of the minimum complexity and add 2 to get the base.



                                Iη ↥⍘θη


                                Print the base and the integer converted to that base in upper case.






                                share|improve this answer











                                $endgroup$

















                                  2












                                  2








                                  2





                                  $begingroup$


                                  Charcoal, 38 bytes



                                  Nθ≔EE³⁴↨θ⁺²ιL⁺ιΦι⁼λ⌕ικη≔⁺²⌕η⌊ηηIη ↥⍘θη


                                  Try it online! Link is to verbose version of code. Explanation:



                                  Nθ


                                  Input the integer.



                                  ≔EE³⁴↨θ⁺²ι


                                  Convert it from base 2 to base 36...



                                  L⁺ιΦι⁼λ⌕ικη


                                  ... deduplicate, concatenate, and take the length.



                                  ≔⁺²⌕η⌊ηη


                                  Take the index of the minimum complexity and add 2 to get the base.



                                  Iη ↥⍘θη


                                  Print the base and the integer converted to that base in upper case.






                                  share|improve this answer











                                  $endgroup$




                                  Charcoal, 38 bytes



                                  Nθ≔EE³⁴↨θ⁺²ιL⁺ιΦι⁼λ⌕ικη≔⁺²⌕η⌊ηηIη ↥⍘θη


                                  Try it online! Link is to verbose version of code. Explanation:



                                  Nθ


                                  Input the integer.



                                  ≔EE³⁴↨θ⁺²ι


                                  Convert it from base 2 to base 36...



                                  L⁺ιΦι⁼λ⌕ικη


                                  ... deduplicate, concatenate, and take the length.



                                  ≔⁺²⌕η⌊ηη


                                  Take the index of the minimum complexity and add 2 to get the base.



                                  Iη ↥⍘θη


                                  Print the base and the integer converted to that base in upper case.







                                  share|improve this answer














                                  share|improve this answer



                                  share|improve this answer








                                  edited 10 hours ago

























                                  answered 13 hours ago









                                  NeilNeil

                                  87.1k8 gold badges46 silver badges183 bronze badges




                                  87.1k8 gold badges46 silver badges183 bronze badges
























                                      2












                                      $begingroup$


                                      Stax, 19 bytes



                                      Ç╛;ⁿY3█↕(╖S♪*ò▌?½╦l


                                      Run and debug it



                                      No fancy algorithm, just straightforward brute force. About a third of the program is format-wrangling for the precise output rules.



                                      Bonus program: Output for [1..1000]






                                      share|improve this answer











                                      $endgroup$



















                                        2












                                        $begingroup$


                                        Stax, 19 bytes



                                        Ç╛;ⁿY3█↕(╖S♪*ò▌?½╦l


                                        Run and debug it



                                        No fancy algorithm, just straightforward brute force. About a third of the program is format-wrangling for the precise output rules.



                                        Bonus program: Output for [1..1000]






                                        share|improve this answer











                                        $endgroup$

















                                          2












                                          2








                                          2





                                          $begingroup$


                                          Stax, 19 bytes



                                          Ç╛;ⁿY3█↕(╖S♪*ò▌?½╦l


                                          Run and debug it



                                          No fancy algorithm, just straightforward brute force. About a third of the program is format-wrangling for the precise output rules.



                                          Bonus program: Output for [1..1000]






                                          share|improve this answer











                                          $endgroup$




                                          Stax, 19 bytes



                                          Ç╛;ⁿY3█↕(╖S♪*ò▌?½╦l


                                          Run and debug it



                                          No fancy algorithm, just straightforward brute force. About a third of the program is format-wrangling for the precise output rules.



                                          Bonus program: Output for [1..1000]







                                          share|improve this answer














                                          share|improve this answer



                                          share|improve this answer








                                          edited 7 hours ago

























                                          answered 7 hours ago









                                          recursiverecursive

                                          7,74115 silver badges30 bronze badges




                                          7,74115 silver badges30 bronze badges
























                                              2












                                              $begingroup$


                                              Jelly, 25 bytes



                                              bⱮ36µQL+LN)Mḟ1Ḣ,ị‘ịØBʋ¥⁸K


                                              Try it online!



                                              A monadic link taking an integer as its argument and returning a Jelly string of the desired format. If a two-item list was acceptable output (as per most challenges), could save 2 bytes. If base 1 were acceptable for the edge case of 1 as input, could save a further 2 bytes.






                                              share|improve this answer









                                              $endgroup$



















                                                2












                                                $begingroup$


                                                Jelly, 25 bytes



                                                bⱮ36µQL+LN)Mḟ1Ḣ,ị‘ịØBʋ¥⁸K


                                                Try it online!



                                                A monadic link taking an integer as its argument and returning a Jelly string of the desired format. If a two-item list was acceptable output (as per most challenges), could save 2 bytes. If base 1 were acceptable for the edge case of 1 as input, could save a further 2 bytes.






                                                share|improve this answer









                                                $endgroup$

















                                                  2












                                                  2








                                                  2





                                                  $begingroup$


                                                  Jelly, 25 bytes



                                                  bⱮ36µQL+LN)Mḟ1Ḣ,ị‘ịØBʋ¥⁸K


                                                  Try it online!



                                                  A monadic link taking an integer as its argument and returning a Jelly string of the desired format. If a two-item list was acceptable output (as per most challenges), could save 2 bytes. If base 1 were acceptable for the edge case of 1 as input, could save a further 2 bytes.






                                                  share|improve this answer









                                                  $endgroup$




                                                  Jelly, 25 bytes



                                                  bⱮ36µQL+LN)Mḟ1Ḣ,ị‘ịØBʋ¥⁸K


                                                  Try it online!



                                                  A monadic link taking an integer as its argument and returning a Jelly string of the desired format. If a two-item list was acceptable output (as per most challenges), could save 2 bytes. If base 1 were acceptable for the edge case of 1 as input, could save a further 2 bytes.







                                                  share|improve this answer












                                                  share|improve this answer



                                                  share|improve this answer










                                                  answered 5 hours ago









                                                  Nick KennedyNick Kennedy

                                                  5,7781 gold badge9 silver badges15 bronze badges




                                                  5,7781 gold badge9 silver badges15 bronze badges
























                                                      1












                                                      $begingroup$


                                                      Japt v2.0a0, 32 bytes



                                                      T=2o37 ñ@sX Ê+UsX â ÊÃÎT+S+UsT u


                                                      Can save two bytes if I can reverse the order, and can save 2 more if uppercase wasn't required.



                                                      Try it






                                                      share|improve this answer









                                                      $endgroup$



















                                                        1












                                                        $begingroup$


                                                        Japt v2.0a0, 32 bytes



                                                        T=2o37 ñ@sX Ê+UsX â ÊÃÎT+S+UsT u


                                                        Can save two bytes if I can reverse the order, and can save 2 more if uppercase wasn't required.



                                                        Try it






                                                        share|improve this answer









                                                        $endgroup$

















                                                          1












                                                          1








                                                          1





                                                          $begingroup$


                                                          Japt v2.0a0, 32 bytes



                                                          T=2o37 ñ@sX Ê+UsX â ÊÃÎT+S+UsT u


                                                          Can save two bytes if I can reverse the order, and can save 2 more if uppercase wasn't required.



                                                          Try it






                                                          share|improve this answer









                                                          $endgroup$




                                                          Japt v2.0a0, 32 bytes



                                                          T=2o37 ñ@sX Ê+UsX â ÊÃÎT+S+UsT u


                                                          Can save two bytes if I can reverse the order, and can save 2 more if uppercase wasn't required.



                                                          Try it







                                                          share|improve this answer












                                                          share|improve this answer



                                                          share|improve this answer










                                                          answered 11 hours ago









                                                          Embodiment of IgnoranceEmbodiment of Ignorance

                                                          4,8461 silver badge29 bronze badges




                                                          4,8461 silver badge29 bronze badges
























                                                              1












                                                              $begingroup$


                                                              Perl 5, 161 bytes





                                                              sub f$X=99;for$b(2..36)$_=c($_[0],$b);$x=uniq(/./g)+y///c;($X,$B,$C)=($x,$b,$_)if$x<$X$B,$C
                                                              sub cmy($n,$b)=@_;$n?c(int$n/$b,$b).chr(48+$n%$b+7*($n%$b>9)):''


                                                              Try it online!






                                                              share|improve this answer









                                                              $endgroup$



















                                                                1












                                                                $begingroup$


                                                                Perl 5, 161 bytes





                                                                sub f$X=99;for$b(2..36)$_=c($_[0],$b);$x=uniq(/./g)+y///c;($X,$B,$C)=($x,$b,$_)if$x<$X$B,$C
                                                                sub cmy($n,$b)=@_;$n?c(int$n/$b,$b).chr(48+$n%$b+7*($n%$b>9)):''


                                                                Try it online!






                                                                share|improve this answer









                                                                $endgroup$

















                                                                  1












                                                                  1








                                                                  1





                                                                  $begingroup$


                                                                  Perl 5, 161 bytes





                                                                  sub f$X=99;for$b(2..36)$_=c($_[0],$b);$x=uniq(/./g)+y///c;($X,$B,$C)=($x,$b,$_)if$x<$X$B,$C
                                                                  sub cmy($n,$b)=@_;$n?c(int$n/$b,$b).chr(48+$n%$b+7*($n%$b>9)):''


                                                                  Try it online!






                                                                  share|improve this answer









                                                                  $endgroup$




                                                                  Perl 5, 161 bytes





                                                                  sub f$X=99;for$b(2..36)$_=c($_[0],$b);$x=uniq(/./g)+y///c;($X,$B,$C)=($x,$b,$_)if$x<$X$B,$C
                                                                  sub cmy($n,$b)=@_;$n?c(int$n/$b,$b).chr(48+$n%$b+7*($n%$b>9)):''


                                                                  Try it online!







                                                                  share|improve this answer












                                                                  share|improve this answer



                                                                  share|improve this answer










                                                                  answered 7 hours ago









                                                                  Kjetil S.Kjetil S.

                                                                  6972 silver badges5 bronze badges




                                                                  6972 silver badges5 bronze badges
























                                                                      1












                                                                      $begingroup$


                                                                      Wolfram Language (Mathematica), 109 bytes



                                                                      Print[a=OrderingBy[#~IntegerDigits~Range@36,Tr[1^#]+Tr[1^Union@#]&][[1]]," ",ToUpperCase[#~IntegerString~a]]&


                                                                      OrderingBy was introduced in Mathematica 12.0, which TIO does not seem to have updated to yet.






                                                                      share|improve this answer









                                                                      $endgroup$














                                                                      • $begingroup$
                                                                        "If several bases give the same value for the criterion, then choose the smallest among them.": OrderingBy doesn't conform to this requirement.
                                                                        $endgroup$
                                                                        – Roman
                                                                        6 hours ago










                                                                      • $begingroup$
                                                                        Maybe something with MinimalBy, like this?
                                                                        $endgroup$
                                                                        – Roman
                                                                        6 hours ago
















                                                                      1












                                                                      $begingroup$


                                                                      Wolfram Language (Mathematica), 109 bytes



                                                                      Print[a=OrderingBy[#~IntegerDigits~Range@36,Tr[1^#]+Tr[1^Union@#]&][[1]]," ",ToUpperCase[#~IntegerString~a]]&


                                                                      OrderingBy was introduced in Mathematica 12.0, which TIO does not seem to have updated to yet.






                                                                      share|improve this answer









                                                                      $endgroup$














                                                                      • $begingroup$
                                                                        "If several bases give the same value for the criterion, then choose the smallest among them.": OrderingBy doesn't conform to this requirement.
                                                                        $endgroup$
                                                                        – Roman
                                                                        6 hours ago










                                                                      • $begingroup$
                                                                        Maybe something with MinimalBy, like this?
                                                                        $endgroup$
                                                                        – Roman
                                                                        6 hours ago














                                                                      1












                                                                      1








                                                                      1





                                                                      $begingroup$


                                                                      Wolfram Language (Mathematica), 109 bytes



                                                                      Print[a=OrderingBy[#~IntegerDigits~Range@36,Tr[1^#]+Tr[1^Union@#]&][[1]]," ",ToUpperCase[#~IntegerString~a]]&


                                                                      OrderingBy was introduced in Mathematica 12.0, which TIO does not seem to have updated to yet.






                                                                      share|improve this answer









                                                                      $endgroup$




                                                                      Wolfram Language (Mathematica), 109 bytes



                                                                      Print[a=OrderingBy[#~IntegerDigits~Range@36,Tr[1^#]+Tr[1^Union@#]&][[1]]," ",ToUpperCase[#~IntegerString~a]]&


                                                                      OrderingBy was introduced in Mathematica 12.0, which TIO does not seem to have updated to yet.







                                                                      share|improve this answer












                                                                      share|improve this answer



                                                                      share|improve this answer










                                                                      answered 7 hours ago









                                                                      attinatattinat

                                                                      1,8672 silver badges9 bronze badges




                                                                      1,8672 silver badges9 bronze badges














                                                                      • $begingroup$
                                                                        "If several bases give the same value for the criterion, then choose the smallest among them.": OrderingBy doesn't conform to this requirement.
                                                                        $endgroup$
                                                                        – Roman
                                                                        6 hours ago










                                                                      • $begingroup$
                                                                        Maybe something with MinimalBy, like this?
                                                                        $endgroup$
                                                                        – Roman
                                                                        6 hours ago

















                                                                      • $begingroup$
                                                                        "If several bases give the same value for the criterion, then choose the smallest among them.": OrderingBy doesn't conform to this requirement.
                                                                        $endgroup$
                                                                        – Roman
                                                                        6 hours ago










                                                                      • $begingroup$
                                                                        Maybe something with MinimalBy, like this?
                                                                        $endgroup$
                                                                        – Roman
                                                                        6 hours ago
















                                                                      $begingroup$
                                                                      "If several bases give the same value for the criterion, then choose the smallest among them.": OrderingBy doesn't conform to this requirement.
                                                                      $endgroup$
                                                                      – Roman
                                                                      6 hours ago




                                                                      $begingroup$
                                                                      "If several bases give the same value for the criterion, then choose the smallest among them.": OrderingBy doesn't conform to this requirement.
                                                                      $endgroup$
                                                                      – Roman
                                                                      6 hours ago












                                                                      $begingroup$
                                                                      Maybe something with MinimalBy, like this?
                                                                      $endgroup$
                                                                      – Roman
                                                                      6 hours ago





                                                                      $begingroup$
                                                                      Maybe something with MinimalBy, like this?
                                                                      $endgroup$
                                                                      – Roman
                                                                      6 hours ago












                                                                      1












                                                                      $begingroup$


                                                                      PHP, 124 119 bytes





                                                                      for($i=36;$b=strtoupper(base_convert($argn,10,--$i));$o[strlen($b.count_chars($b,3))]="$i $b");krsort($o);echo end($o);


                                                                      Try it online!



                                                                      A shame about the +12 bytes in PHP to uppercase the output... but... anyway.






                                                                      share|improve this answer











                                                                      $endgroup$



















                                                                        1












                                                                        $begingroup$


                                                                        PHP, 124 119 bytes





                                                                        for($i=36;$b=strtoupper(base_convert($argn,10,--$i));$o[strlen($b.count_chars($b,3))]="$i $b");krsort($o);echo end($o);


                                                                        Try it online!



                                                                        A shame about the +12 bytes in PHP to uppercase the output... but... anyway.






                                                                        share|improve this answer











                                                                        $endgroup$

















                                                                          1












                                                                          1








                                                                          1





                                                                          $begingroup$


                                                                          PHP, 124 119 bytes





                                                                          for($i=36;$b=strtoupper(base_convert($argn,10,--$i));$o[strlen($b.count_chars($b,3))]="$i $b");krsort($o);echo end($o);


                                                                          Try it online!



                                                                          A shame about the +12 bytes in PHP to uppercase the output... but... anyway.






                                                                          share|improve this answer











                                                                          $endgroup$




                                                                          PHP, 124 119 bytes





                                                                          for($i=36;$b=strtoupper(base_convert($argn,10,--$i));$o[strlen($b.count_chars($b,3))]="$i $b");krsort($o);echo end($o);


                                                                          Try it online!



                                                                          A shame about the +12 bytes in PHP to uppercase the output... but... anyway.







                                                                          share|improve this answer














                                                                          share|improve this answer



                                                                          share|improve this answer








                                                                          edited 5 mins ago

























                                                                          answered 3 hours ago









                                                                          640KB640KB

                                                                          4,1061 gold badge9 silver badges29 bronze badges




                                                                          4,1061 gold badge9 silver badges29 bronze badges
























                                                                              0












                                                                              $begingroup$


                                                                              Perl 6, 55 bytes





                                                                              ~map($^b,.base($b),2..36).min:.[*]+.Seto*[1].comb


                                                                              Try it online!






                                                                              share|improve this answer









                                                                              $endgroup$



















                                                                                0












                                                                                $begingroup$


                                                                                Perl 6, 55 bytes





                                                                                ~map($^b,.base($b),2..36).min:.[*]+.Seto*[1].comb


                                                                                Try it online!






                                                                                share|improve this answer









                                                                                $endgroup$

















                                                                                  0












                                                                                  0








                                                                                  0





                                                                                  $begingroup$


                                                                                  Perl 6, 55 bytes





                                                                                  ~map($^b,.base($b),2..36).min:.[*]+.Seto*[1].comb


                                                                                  Try it online!






                                                                                  share|improve this answer









                                                                                  $endgroup$




                                                                                  Perl 6, 55 bytes





                                                                                  ~map($^b,.base($b),2..36).min:.[*]+.Seto*[1].comb


                                                                                  Try it online!







                                                                                  share|improve this answer












                                                                                  share|improve this answer



                                                                                  share|improve this answer










                                                                                  answered 4 hours ago









                                                                                  nwellnhofnwellnhof

                                                                                  7,9701 gold badge12 silver badges29 bronze badges




                                                                                  7,9701 gold badge12 silver badges29 bronze badges
























                                                                                      0












                                                                                      $begingroup$


                                                                                      Python 2, 140 135 bytes





                                                                                      lambda n:min([(b,g(n,b))for b in range(2,36)],key=lambda(b,s):len(s)+len(set(s)))
                                                                                      g=lambda n,b:n and g(n/b,b)+chr(n%b+48+7*(n%b>9))or''


                                                                                      Try it online!






                                                                                      share|improve this answer









                                                                                      $endgroup$



















                                                                                        0












                                                                                        $begingroup$


                                                                                        Python 2, 140 135 bytes





                                                                                        lambda n:min([(b,g(n,b))for b in range(2,36)],key=lambda(b,s):len(s)+len(set(s)))
                                                                                        g=lambda n,b:n and g(n/b,b)+chr(n%b+48+7*(n%b>9))or''


                                                                                        Try it online!






                                                                                        share|improve this answer









                                                                                        $endgroup$

















                                                                                          0












                                                                                          0








                                                                                          0





                                                                                          $begingroup$


                                                                                          Python 2, 140 135 bytes





                                                                                          lambda n:min([(b,g(n,b))for b in range(2,36)],key=lambda(b,s):len(s)+len(set(s)))
                                                                                          g=lambda n,b:n and g(n/b,b)+chr(n%b+48+7*(n%b>9))or''


                                                                                          Try it online!






                                                                                          share|improve this answer









                                                                                          $endgroup$




                                                                                          Python 2, 140 135 bytes





                                                                                          lambda n:min([(b,g(n,b))for b in range(2,36)],key=lambda(b,s):len(s)+len(set(s)))
                                                                                          g=lambda n,b:n and g(n/b,b)+chr(n%b+48+7*(n%b>9))or''


                                                                                          Try it online!







                                                                                          share|improve this answer












                                                                                          share|improve this answer



                                                                                          share|improve this answer










                                                                                          answered 4 hours ago









                                                                                          Chas BrownChas Brown

                                                                                          6,0191 gold badge6 silver badges23 bronze badges




                                                                                          6,0191 gold badge6 silver badges23 bronze badges
























                                                                                              0












                                                                                              $begingroup$


                                                                                              Brachylog, 44 bytes



                                                                                              ∧Y≜∧36≥Xℕ₂≜&ḃ↙X Zd,Zl≡Y∧XwṢwZ-₁₀;Ạụᵗ∋₍ᵐwᵐ


                                                                                              Try it online!



                                                                                              This hurt a bit to write.






                                                                                              share|improve this answer









                                                                                              $endgroup$



















                                                                                                0












                                                                                                $begingroup$


                                                                                                Brachylog, 44 bytes



                                                                                                ∧Y≜∧36≥Xℕ₂≜&ḃ↙X Zd,Zl≡Y∧XwṢwZ-₁₀;Ạụᵗ∋₍ᵐwᵐ


                                                                                                Try it online!



                                                                                                This hurt a bit to write.






                                                                                                share|improve this answer









                                                                                                $endgroup$

















                                                                                                  0












                                                                                                  0








                                                                                                  0





                                                                                                  $begingroup$


                                                                                                  Brachylog, 44 bytes



                                                                                                  ∧Y≜∧36≥Xℕ₂≜&ḃ↙X Zd,Zl≡Y∧XwṢwZ-₁₀;Ạụᵗ∋₍ᵐwᵐ


                                                                                                  Try it online!



                                                                                                  This hurt a bit to write.






                                                                                                  share|improve this answer









                                                                                                  $endgroup$




                                                                                                  Brachylog, 44 bytes



                                                                                                  ∧Y≜∧36≥Xℕ₂≜&ḃ↙X Zd,Zl≡Y∧XwṢwZ-₁₀;Ạụᵗ∋₍ᵐwᵐ


                                                                                                  Try it online!



                                                                                                  This hurt a bit to write.







                                                                                                  share|improve this answer












                                                                                                  share|improve this answer



                                                                                                  share|improve this answer










                                                                                                  answered 3 hours ago









                                                                                                  Unrelated StringUnrelated String

                                                                                                  3,2752 gold badges3 silver badges17 bronze badges




                                                                                                  3,2752 gold badges3 silver badges17 bronze badges























                                                                                                      Ver Nick is a new contributor. Be nice, and check out our Code of Conduct.









                                                                                                      draft saved

                                                                                                      draft discarded


















                                                                                                      Ver Nick is a new contributor. Be nice, and check out our Code of Conduct.












                                                                                                      Ver Nick is a new contributor. Be nice, and check out our Code of Conduct.











                                                                                                      Ver Nick is a new contributor. Be nice, and check out our Code of Conduct.














                                                                                                      If this is an answer to a challenge…



                                                                                                      • …Be sure to follow the challenge specification. However, please refrain from exploiting obvious loopholes. Answers abusing any of the standard loopholes are considered invalid. If you think a specification is unclear or underspecified, comment on the question instead.


                                                                                                      • …Try to optimize your score. For instance, answers to code-golf challenges should attempt to be as short as possible. You can always include a readable version of the code in addition to the competitive one.
                                                                                                        Explanations of your answer make it more interesting to read and are very much encouraged.


                                                                                                      • …Include a short header which indicates the language(s) of your code and its score, as defined by the challenge.


                                                                                                      More generally…



                                                                                                      • …Please make sure to answer the question and provide sufficient detail.


                                                                                                      • …Avoid asking for help, clarification or responding to other answers (use comments instead).




                                                                                                      draft saved


                                                                                                      draft discarded














                                                                                                      StackExchange.ready(
                                                                                                      function ()
                                                                                                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodegolf.stackexchange.com%2fquestions%2f189786%2fsimplification-of-numbers%23new-answer', 'question_page');

                                                                                                      );

                                                                                                      Post as a guest















                                                                                                      Required, but never shown





















































                                                                                                      Required, but never shown














                                                                                                      Required, but never shown












                                                                                                      Required, but never shown







                                                                                                      Required, but never shown

































                                                                                                      Required, but never shown














                                                                                                      Required, but never shown












                                                                                                      Required, but never shown







                                                                                                      Required, but never shown







                                                                                                      Popular posts from this blog

                                                                                                      19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу

                                                                                                      Israel Cuprins Etimologie | Istorie | Geografie | Politică | Demografie | Educație | Economie | Cultură | Note explicative | Note bibliografice | Bibliografie | Legături externe | Meniu de navigaresite web oficialfacebooktweeterGoogle+Instagramcanal YouTubeInstagramtextmodificaremodificarewww.technion.ac.ilnew.huji.ac.ilwww.weizmann.ac.ilwww1.biu.ac.ilenglish.tau.ac.ilwww.haifa.ac.ilin.bgu.ac.ilwww.openu.ac.ilwww.ariel.ac.ilCIA FactbookHarta Israelului"Negotiating Jerusalem," Palestine–Israel JournalThe Schizoid Nature of Modern Hebrew: A Slavic Language in Search of a Semitic Past„Arabic in Israel: an official language and a cultural bridge”„Latest Population Statistics for Israel”„Israel Population”„Tables”„Report for Selected Countries and Subjects”Human Development Report 2016: Human Development for Everyone„Distribution of family income - Gini index”The World FactbookJerusalem Law„Israel”„Israel”„Zionist Leaders: David Ben-Gurion 1886–1973”„The status of Jerusalem”„Analysis: Kadima's big plans”„Israel's Hard-Learned Lessons”„The Legacy of Undefined Borders, Tel Aviv Notes No. 40, 5 iunie 2002”„Israel Journal: A Land Without Borders”„Population”„Israel closes decade with population of 7.5 million”Time Series-DataBank„Selected Statistics on Jerusalem Day 2007 (Hebrew)”Golan belongs to Syria, Druze protestGlobal Survey 2006: Middle East Progress Amid Global Gains in FreedomWHO: Life expectancy in Israel among highest in the worldInternational Monetary Fund, World Economic Outlook Database, April 2011: Nominal GDP list of countries. Data for the year 2010.„Israel's accession to the OECD”Popular Opinion„On the Move”Hosea 12:5„Walking the Bible Timeline”„Palestine: History”„Return to Zion”An invention called 'the Jewish people' – Haaretz – Israel NewsoriginalJewish and Non-Jewish Population of Palestine-Israel (1517–2004)ImmigrationJewishvirtuallibrary.orgChapter One: The Heralders of Zionism„The birth of modern Israel: A scrap of paper that changed history”„League of Nations: The Mandate for Palestine, 24 iulie 1922”The Population of Palestine Prior to 1948originalBackground Paper No. 47 (ST/DPI/SER.A/47)History: Foreign DominationTwo Hundred and Seventh Plenary Meeting„Israel (Labor Zionism)”Population, by Religion and Population GroupThe Suez CrisisAdolf EichmannJustice Ministry Reply to Amnesty International Report„The Interregnum”Israel Ministry of Foreign Affairs – The Palestinian National Covenant- July 1968Research on terrorism: trends, achievements & failuresThe Routledge Atlas of the Arab–Israeli conflict: The Complete History of the Struggle and the Efforts to Resolve It"George Habash, Palestinian Terrorism Tactician, Dies at 82."„1973: Arab states attack Israeli forces”Agranat Commission„Has Israel Annexed East Jerusalem?”original„After 4 Years, Intifada Still Smolders”From the End of the Cold War to 2001originalThe Oslo Accords, 1993Israel-PLO Recognition – Exchange of Letters between PM Rabin and Chairman Arafat – Sept 9- 1993Foundation for Middle East PeaceSources of Population Growth: Total Israeli Population and Settler Population, 1991–2003original„Israel marks Rabin assassination”The Wye River Memorandumoriginal„West Bank barrier route disputed, Israeli missile kills 2”"Permanent Ceasefire to Be Based on Creation Of Buffer Zone Free of Armed Personnel Other than UN, Lebanese Forces"„Hezbollah kills 8 soldiers, kidnaps two in offensive on northern border”„Olmert confirms peace talks with Syria”„Battleground Gaza: Israeli ground forces invade the strip”„IDF begins Gaza troop withdrawal, hours after ending 3-week offensive”„THE LAND: Geography and Climate”„Area of districts, sub-districts, natural regions and lakes”„Israel - Geography”„Makhteshim Country”Israel and the Palestinian Territories„Makhtesh Ramon”„The Living Dead Sea”„Temperatures reach record high in Pakistan”„Climate Extremes In Israel”Israel in figures„Deuteronom”„JNF: 240 million trees planted since 1901”„Vegetation of Israel and Neighboring Countries”Environmental Law in Israel„Executive branch”„Israel's election process explained”„The Electoral System in Israel”„Constitution for Israel”„All 120 incoming Knesset members”„Statul ISRAEL”„The Judiciary: The Court System”„Israel's high court unique in region”„Israel and the International Criminal Court: A Legal Battlefield”„Localities and population, by population group, district, sub-district and natural region”„Israel: Districts, Major Cities, Urban Localities & Metropolitan Areas”„Israel-Egypt Relations: Background & Overview of Peace Treaty”„Solana to Haaretz: New Rules of War Needed for Age of Terror”„Israel's Announcement Regarding Settlements”„United Nations Security Council Resolution 497”„Security Council resolution 478 (1980) on the status of Jerusalem”„Arabs will ask U.N. to seek razing of Israeli wall”„Olmert: Willing to trade land for peace”„Mapping Peace between Syria and Israel”„Egypt: Israel must accept the land-for-peace formula”„Israel: Age structure from 2005 to 2015”„Global, regional, and national disability-adjusted life years (DALYs) for 306 diseases and injuries and healthy life expectancy (HALE) for 188 countries, 1990–2013: quantifying the epidemiological transition”10.1016/S0140-6736(15)61340-X„World Health Statistics 2014”„Life expectancy for Israeli men world's 4th highest”„Family Structure and Well-Being Across Israel's Diverse Population”„Fertility among Jewish and Muslim Women in Israel, by Level of Religiosity, 1979-2009”„Israel leaders in birth rate, but poverty major challenge”„Ethnic Groups”„Israel's population: Over 8.5 million”„Israel - Ethnic groups”„Jews, by country of origin and age”„Minority Communities in Israel: Background & Overview”„Israel”„Language in Israel”„Selected Data from the 2011 Social Survey on Mastery of the Hebrew Language and Usage of Languages”„Religions”„5 facts about Israeli Druze, a unique religious and ethnic group”„Israël”Israel Country Study Guide„Haredi city in Negev – blessing or curse?”„New town Harish harbors hopes of being more than another Pleasantville”„List of localities, in alphabetical order”„Muncitorii români, doriți în Israel”„Prietenia româno-israeliană la nevoie se cunoaște”„The Higher Education System in Israel”„Middle East”„Academic Ranking of World Universities 2016”„Israel”„Israel”„Jewish Nobel Prize Winners”„All Nobel Prizes in Literature”„All Nobel Peace Prizes”„All Prizes in Economic Sciences”„All Nobel Prizes in Chemistry”„List of Fields Medallists”„Sakharov Prize”„Țara care și-a sfidat "destinul" și se bate umăr la umăr cu Silicon Valley”„Apple's R&D center in Israel grew to about 800 employees”„Tim Cook: Apple's Herzliya R&D center second-largest in world”„Lecții de economie de la Israel”„Land use”Israel Investment and Business GuideA Country Study: IsraelCentral Bureau of StatisticsFlorin Diaconu, „Kadima: Flexibilitate și pragmatism, dar nici un compromis în chestiuni vitale", în Revista Institutului Diplomatic Român, anul I, numărul I, semestrul I, 2006, pp. 71-72Florin Diaconu, „Likud: Dreapta israeliană constant opusă retrocedării teritoriilor cureite prin luptă în 1967", în Revista Institutului Diplomatic Român, anul I, numărul I, semestrul I, 2006, pp. 73-74MassadaIsraelul a crescut in 50 de ani cât alte state intr-un mileniuIsrael Government PortalIsraelIsraelIsraelmmmmmXX451232cb118646298(data)4027808-634110000 0004 0372 0767n7900328503691455-bb46-37e3-91d2-cb064a35ffcc1003570400564274ge1294033523775214929302638955X146498911146498911

                                                                                                      Кастелфранко ди Сопра Становништво Референце Спољашње везе Мени за навигацију43°37′18″ СГШ; 11°33′32″ ИГД / 43.62156° СГШ; 11.55885° ИГД / 43.62156; 11.5588543°37′18″ СГШ; 11°33′32″ ИГД / 43.62156° СГШ; 11.55885° ИГД / 43.62156; 11.558853179688„The GeoNames geographical database”„Istituto Nazionale di Statistica”проширитиууWorldCat156923403n850174324558639-1cb14643287r(подаци)