A307404 Base-5 based twisted permutation of the nonnegative integers - variant "Ln".
0, 1, 2, 3, 4, 9, 8, 7, 6, 5, 10, 15, 20, 21, 16, 11, 12, 13, 14, 19, 18, 17, 22, 23, 24, 49, 48, 47, 42, 43, 44, 39, 38, 37, 36, 41, 46, 45, 40, 35, 30, 31, 32, 33, 34, 29, 28, 27, 26, 25, 50, 75, 100, 101, 76, 51, 52, 53, 54, 79, 78, 77, 102
Offset: 0
Examples
In base-5, the terms for the path in two dimensions are 0, 1, 2, 3, 4, 14, 13, 12, 11, 10, 20, 30, 40, 41, 31, 21, 22, 23, 24, 34, 33, 32, 42, 43, 44.
Links
- Georg Fischer, Repository of programs for related sequences, (gen_paths.pl)
Comments