In some notes of mine I have found a comment according to which the Indian mathematician Narayana Pandit (14th century) found the prime factors of $1161$ by writing it in the form $1161 = 35^2-8^2$. Unfortunately I can't find the source of this piece of information. Any help is appreciated.



Narayana and Fermat's Factorization Method
Vedveer Arya seems to be the person to ask about the connection and original sources:
He wrote that Fermat's factorisation method was predated by Narayana Pandit.


1) <https://www.eswaraindia.org/html/lecture-series13.html>
This seems to be based on a lecture, in the table entry 19
is on this. An email address of the author is included.


2)
<https://www.facebook.com/HinduismDeMystified/posts/1602564033109901:0>


(after some comments on Pell's equations he writes:
"This method of Nārāyana Pandit is amazingly accurate and equivalent to all other methods. In the enclosed illustration, he explicitly applied a factorization method by representing a non-square integer as the difference of two squares. This method is now known as Fermat's factorization method whereas Nārāyana Pandit applied it much earlier than Fermat. Hence, this method must be named as Nārāyana Pandit's factorization method." (Some formulae follow where I do not see a connection to the factorization method).


3) 
<http://docslide.us/documents/vedveer-arya-dating-historydocx.html>


another document, at the very end is the same text as in 2)


4) He has written a book of 380 pages,
Indian contributions to mathematics & astronomy : from vedic period to 17th century.
<http://www.dkagencies.com/doc/from/1123/to/1123/bkId/DKB3317162763217421699131230371/details.html>


