Pea pattern
From Wikipedia, the free encyclopedia
A pea pattern is a mathematical pattern that, when following certain steps, will yield an infinite or near-infinite string of patterned numbers.
The first-ever pea pattern made goes as such:
A number is first named, such as 1, and the next number is derived by how many of each digit is named in the number. There is one digit in 1, and there are 1 of that number, so the next number is 11. There are two 1's in 11, thus the next number in the series is 21. There is 1 2 and 1 1 in 21, so the number after that is 1211.
1, 11, 21, 1211, 3112, 132112, 311322, 232122, 421311, 14123113, 41148223
The second pea pattern is somewhat unique in that it goes backwards, beginning with a large number and going back down to a one-digit number. One could begin with a number such as 54739120829. The adjacent numbers are subtracted from one another, as such:
54739120829 1346812867 212271621 11056541 0151113 144002 30402 3442 102 12 1
Using this method the numbers will usually retract to 1.