This plugin MooTools finds the next number in the sequence of integers using difference table.
First you must to include the JS files in the head of your HTML document.
Problem: I need to know what number comes next in this sequence?
#JS var sequence = [9,73,241,561,1081,1849]; //solution: console.log("Next number comes next in this sequence is:" + sequence.nextTerm()); console.log(sequence.combine([sequence.nextTerm()]));
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.blog comments powered by Disqus