2 added 154 characters in body
source | link

Mathematica 25 11

PartitionsP 

Usage

PartitionsP[4]
(*
5
*)

Calculating the result for n = 1000 is instantaneous

Timing[PartitionsP@1000]
(*
 {0., 24061467864032622473692149727991}
*)

Mathematica 25 11

PartitionsP 

Usage

PartitionsP[4]
(*
5
*)

Mathematica 25 11

PartitionsP 

Usage

PartitionsP[4]
(*
5
*)

Calculating the result for n = 1000 is instantaneous

Timing[PartitionsP@1000]
(*
 {0., 24061467864032622473692149727991}
*)
1
source | link

Mathematica 25 11

PartitionsP 

Usage

PartitionsP[4]
(*
5
*)