Function Repository Resource:

PlouffeP

Source Notebook

Get the value of the Plouffe P function

Contributed by: Wolfram Staff

ResourceFunction["PlouffeP"][s,b,m,{a1,a2,}]

gives the value the value of the Plouffe P function for integers s,b,m and {a1,a2,,am}.

ResourceFunction["PlouffeP"][s,b,A]

gives ResourceFunction["PlouffeP"][s,b,Length[A],A] for the List A.

Details and Options

ResourceFunction["PlouffeP"] gives the value of , where s and b are integers and {a1,a2,,am} is a List of m integers.

Examples

Basic Examples (2) 

The Plouffe P function is a compact way to represent a class of infinite series that sum to well-known numbers:

In[1]:=
1/10 ResourceFunction["PlouffeP"][1, 10, 1, {1}]
Out[1]=

Use the three-argument form:

In[2]:=
1/2 ResourceFunction["PlouffeP"][1, 2, {1}] // Simplify
Out[2]=

Neat Examples (1) 

This example is the famous Bailey-Borwein-Plouffe formula (BBP formula):

In[3]:=
FullSimplify@
 ResourceFunction["PlouffeP"][1, 16, {4, 0, 0, -2, -1, -1, 0, 0}]
Out[3]=

Publisher

George Beck

Version History

  • 1.0.0 – 13 February 2020

Related Resources

License Information