The Experimental Generation of Interpersonal Closeness, by Aron et al.
BUT - this is an incredible tool to figure out if you'd _want_ to be friends with someone, and build a solid foundation
And again - this works. I've used this "algorithm" > 10 times, and every time I got a new friend. Not all stayed friends over the long term, but that's life :)