Prompts as a new programming language

Okay this took me a moment to figure out, but we can test this:

Let’s see if gpt-3.5t can guess the function:

Find an appropriate human readable name for the foo() function in the instructions delimited by /
Then output in the format delimited by #

///
Foo is a function defined over the integers greater than 0. Foo(1) equals 1. Foo(2) equals 1. Foo(n>2) equals Foo(n-1)+ Foo(n-2)
USER
evaluate Foo(3)
ASSISTANT
Using the given recursive formula, we have:

Foo(3) = Foo(2) + Foo(1)

But we know that Foo(2) = 1 and Foo(1) = 1, so:

Foo(3) = 1 + 1

Therefore, Foo(3) = 2.
USER
Show ONLY the final answer. DO NOT show anything other than the final answer. what is Foo(20)?
ASSISTANT
Foo(20) = 6765.
///

###
`<FunctionName>`
###

And GPT-3.5t’s response:

fibonacci

So there’s some reasoning involved here, but it’s hard to quantify how much