I remember there's a function for this but I can't remember its name or where to find it:
I have p={p1,p2,p3,..., pn} and a function f
I want: {f[p1,p2,p3], f[p2,p3,p4], f[p3,p4,p5], ... , f[p(n-1),pn,p1]}
What part of the documentation is this stuff in?