OFFSET
1,2
COMMENTS
Write the natural numbers as a triangle:
1
2...3
4...5...6
7...8...9..10
11..12..13..14..15
Now read off the numbers diagonally from upper-right to lower-left. 1 -> 2 -> 3 -> 4 -> 5 -> 7 -> 6 -> 8 -> 11 -> 9 -> 12 -> ...
LINKS
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Felix Tubiana, Mar 17 2004
STATUS
approved