OFFSET
1,1
COMMENTS
First term prime(4) = 7 is placed on 0th row.
If prime(n-1) = 1 or 2 mod 5 is on k-th row then we put prime(n) on (k-1)-st row.
If prime(n-1) = -1 or -2 mod 5 is on k-th row then we put prime(n) on (k+1)-st row.
This process produces the following array of prime numbers:
31, 97, ... row -1
7, 29, 37, 61, 89, 101, ... row 0 (this sequence)
11, 17, 23, 41, 47, 59, 67, 83, ... row 1 (A096454)
13, 19, 43, 53, 71, 79, ... row 2 (A096455)
73, ...
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Yasutoshi Kohmoto, Aug 12 2004
EXTENSIONS
More terms and better definition from Joshua Zucker, May 21 2006
STATUS
approved