This research shows that aptitude for learning foreign languages is a stronger predictor of learning to program than basic maths knowledge.
"These results provide a novel framework for understanding programming aptitude, suggesting that the importance of numeracy may be overestimated in modern programming education environments."
Relating Natural Language Aptitude to Individual Differences in Learning Programming Languages. Prat, et.al. https://www.nature.com/articles/s41598-020-60661-8