[go: up one dir, main page]

Skip to content

An R package for finding numbers expressible as the sum of two cubes in different ways

Notifications You must be signed in to change notification settings

hpages/Ramanujan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ramanujan is an R package for finding numbers expressible as the sum of two cubes in different ways.

library(Ramanujan)

## Find numbers <= 2e4 expressible as the sum of two cubes
## in 2 distinct ways:
Ramanujan(Nmax=2e4, k=2)

## Find numbers <= 2e8 expressible as the sum of two cubes
## in 3 distinct ways:
Ramanujan(Nmax=2e8, k=3)

## Ramanujan(1e13, k=4) will find the 4th taxicab number
## (6963472309248, denoted Ta(4)) in < 30s on a machine
## with enough RAM (it uses about 12.5Gb of memory):
Ramanujan(1e13, k=4)

Links:

About

An R package for finding numbers expressible as the sum of two cubes in different ways

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages