This software is a REST API to find the nth number from Alticci sequence. It is defined by:
n=0 => a(0) = 0
n=1 => a(1) = 1
n=2 => a(2) = 1
n>2 => a(n) = a(n-3) + a(n-2)
Made with OpenApi (Swagger):
/swagger-ui/index.html
Endpoint:
GET /alticci/<INDEX_NUMBER>
- With Docker
docker pull spinnerz/alticci
docker run -p <DESIRED_PORT>:8080 --name <CONTAINER_ALIAS> spinnerz/alticci
- Without Docker
git clone https://github.com/SpinnerZ/alticci.git
cd alticci
./gradlew bootJar
cd build/libs
java -jar alticci.jar