login
A162350
The path of the primes: Pairs (x,y) such that the points P(x,y) represent the position of the nonnegative integers in the graph of the "mountain path" function for prime numbers.
4
0, 0, 1, 0, 2, 0, 2, 1, 2, 2, 3, 2, 4, 2, 4, 3, 4, 4, 4, 5, 5, 5, 5, 4, 6, 4, 6, 5, 6, 6, 6, 7, 7, 7, 7, 6, 8, 6, 8, 7, 8, 8, 8, 9, 9, 9, 9, 8, 9, 7, 9, 6, 10, 6, 10, 7, 10, 8, 10, 9, 10, 10, 11, 10, 11, 9, 11, 8, 12, 8, 12, 9, 12, 10
OFFSET
0,5
EXAMPLE
n ..... Point
0 ..... P(0,0)
1 ..... P(1,0)
2 ..... P(2,0)
3 ..... P(2,1)
4 ..... P(2,2)
5 ..... P(3,2)
6 ..... P(4,2)
7 ..... P(4,3)
8 ..... P(4,4)
9 ..... P(4,5)
10 .... P(5,5)
11 .... P(5,4)
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Jul 03 2009
STATUS
approved