Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Minimum Bases

Problem Description

Find the minimum base (radix) in which a given positive integer can be represented using only the same repeated digit.

Goal

Determine the smallest base where the given number can be written using identical digits (e.g., 111, 222, 333, etc.).

Implementations

  • minbases.pl - SWI Prolog implementation
  • minbases.sml - SML/NJ implementation
  • minbases(IntInf).sml - SML/NJ implementation using arbitrary precision integers