Nontrivial solutions for a floating beam equation