AREAS: Number Theory
LEVEL: Hardest
TYPE: Open
The task is to create a program that converts numbers in different number systems:
- Accept a number in an arbitrary base a as input.
- Be able to convert the number to another arbitrary base b, where the user can choose both a and b. The requirement is that the digit representation does not exceed 36 and is not less than 2.
- Be able to handle decimal numbers.
To meet the level Hardest, the creator should demonstrate a good mathematical understanding by:
- Avoiding the use of too many built-in functions.
- Clearly presenting their mathematical understanding of the program in their description.
OMRÅDEN: Talteori, Kongruens
NIVÅ: Svårast
TYP: Öppen
Uppgiften är att skapa ett program som omvandlar tal i olika talbaser:
- Ta emot ett tal i en godtycklig bas a som input.
- Kunna omvandla talet till en annan godtycklig bas b där användaren själv kan välja baserna a och b. Kravet är att basteckningen inte överstiger 36 och är inte lägre än 2.
- Kunna hantera decimaltal.
För att uppgiften ska uppfylla nivån Svårast bör skaparen visa en god matematisk förståelse genom att:
- Undvika att använda för många inbyggda funktioner.
- Tydligt redovisa sin matematiska förståelse av programmet i sin beskrivning.