A081964 In the following triangle the n-th row contains n numbers relatively prime to n and not occurring in a previous row. a(1) = 1. Sequence contains the triangle by rows.
1, 3, 5, 2, 4, 7, 9, 11, 13, 15, 6, 8, 12, 14, 16, 17, 19, 23, 25, 29, 31, 10, 18, 20, 22, 24, 26, 27, 21, 33, 35, 37, 39, 41, 43, 45, 28, 32, 34, 38, 40, 44, 46, 47, 49, 51, 53, 57, 59, 61, 63, 67, 69, 71, 73, 30, 36, 42, 48, 50, 52, 54, 56, 58, 60, 62, 55, 65, 77, 79, 83, 85
Offset: 1
Examples
Triangle begins: 1 3 5 2 4 7 9 11 13 15 6 8 12 14 16 ...
Links
- Paul Tek, Table of n, a(n) for n = 1..10000
- Paul Tek, Perl program for this sequence
Programs
-
Perl
See Link section.
Extensions
More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 08 2003