Mathematics:
Undergaduate level
Mathematical Methods for Economic Theory by Martin J. Osborne
Graduate level
Further Mathermatics for Economic Analysis by Knut Sydsaeter at el.
Maths for Economists by Mark Dean
KC Border's notes on selected topics in mathematical economics
Math courses recommended by Thomas J. Sargent
Macroeconomics:
Undergraduate level (intermedidate)
Modern Macroeconomics by Sanjay K. Chugh
https://ocw.mit.edu/courses/economics/14-05-intermediate-macroeconomics-spring-2013/lecture-notes/
https://juliogarin.com/files/textbook/GLS_Intermediate_Macro.pdf
Graduate level
Lectures on Macroeconomics by Olivier Blanchard and Stanley Fischer
Dynamic Macroeconomics By George Alogoskoufis
Economic Dynamics Theory and Computation By John Stachurski
Advanced Macroeconomics by David Romer
Recursive Methods in Economic Dynamics by Nancy Stokey, Robert Lucas , and Edward Prescott
Recursive Macroeconomic Theory by Lars Ljungqvist & Thomas J. Sargent
The Best Macroeconomics Textbooks recommended by Raffaele Rossi
This is open code source for economic model by Thomas J. Sargen and John Stachursky
Dynare:
Johannes Pfeifer's personal website " https://sites.google.com/site/pfeiferecon/home" provides useful information and links as well.
Other sources by American Economic Association