login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078448 Triangle T(n,k) for 1 <= n, 1 <= k <= n read by rows: T(1,1) = 1; for n > 1: T(n,1) = T(n-1,n-1) + 1; for n > 1 and k <=n: T(n,k) = smallest number > T(n,k-1) which is relatively prime to T(n,j) for 1 <= j < k. 4
1, 2, 3, 4, 5, 7, 8, 9, 11, 13, 14, 15, 17, 19, 23, 24, 25, 29, 31, 37, 41, 42, 43, 47, 53, 55, 59, 61, 62, 63, 65, 67, 71, 73, 79, 83, 84, 85, 89, 97, 101, 103, 107, 109, 113, 114, 115, 119, 121, 127, 131, 137, 139, 149, 151, 152, 153, 155, 157, 161, 163, 167, 169, 173 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
1
2 3
4 5 7
8 9 11 13
14 15 17 19 23
24 25 29 31 37 41
42 43 47 53 55 59 61
62 63 65 67 71 73 79 83
...
PROG
(PARI) {s=[1]; for (n=2, 12, for(j=1, n-1, print1(s[j], ", ")); a=s[n-1]; s=[a+1]; for(j=2, n, k=s[j-1]+1; c=1; while(c>0, b=1; for(i=1, matsize(s)[2], if(gcd(k, s[i])>1, b=0)); if(b==0, k++, c=0)); s=concat(s, k)))}
CROSSREFS
Sequence in context: A097904 A094387 A050744 * A212289 A191840 A214981
KEYWORD
nonn,tabl
AUTHOR
Amarnath Murthy, Nov 27 2002
EXTENSIONS
Edited, corrected and extended by Klaus Brockhaus, Dec 10 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 04:13 EDT 2024. Contains 371235 sequences. (Running on oeis4.)