I\'m writing a short document using sections rather than chapters as the top-level (documentclass report). However,
\\bibliographystyle{amsplain} \\bibliogr
In my case, I also changed @godbyk's solution to include the section number.
@godbyk's line:
{\section*{\bibname}% <-- this line was changed from \chapter* to \section*
My line:
{\section{\bibname}% <-- this line was changed from \chapter* to \section