Write the logic for the Fibonacci series and write code for the pyramid pattern.
Implement fibonacci_pyramid(n) using the convention F(0) = 0 and F(1) = 1. Return the first n Fibonacci numbers and a centered pyramid with n rows, represented as a string without a trailing newline.
Function signature: fibonacci_pyramid(n)
def fibonacci_pyramid(n):