Scala

Scala and programming in Scala; mostly praise of the language

Sequencer identifies number sequences. That is, given a list of numbers like $$(a_n)_{n\geq 1} = 1,\; 2,\; 4,\; 8,\; 16,\; 32,\; \ldots$$ it finds a formula that generates them, in this case $$a_n = 2^{n-1}$$ Sequencer employs neither a library of sequences nor a limited set of… » Read more