OFFSET
1,2
FORMULA
a(p)=a(p-1)+1 for all primes p.
EXAMPLE
For n = 7, we have these 14 finite sequences:
1;
2,4,6,3;
2,6,3;
2,6,4;
3,6,2,4;
3,6,4,2;
4,2,6,3;
4,6,2;
4,6,3;
5;
6,2,4;
6,3;
6,4,2;
7
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Leroy Quet, Mar 24 2010
EXTENSIONS
More terms from Sean A. Irvine, Nov 25 2010
STATUS
approved