Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A054431
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A054431 Array read by antidiagonals: T(x, y) tells whether (x, y) are coprime (1) or not (0), where (x, y) = (1, 1), (1, 2), (2, 1), (1, 3), (2, 2), (3, 1), ... +0
11
1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1 (list; table; graph; listen)
OFFSET

1,1

FORMULA

a(n) = reduced_residue_set_0_1_array(n)

T(n, k)=T(n, k-n)+T(n-k, k) starting with T(n, k)=0 if n or k are nonpositive and T(1, 1)=1. T(n, k)=A054521(n, k) if n>=k, =A054521(k, n) if n<=k. Anti-diagonal sums are phi(n)=A000010(n). - Henry Bottomley (se16(AT)btinternet.com), May 14 2002

EXAMPLE

Rows start: 1,1,1,1,1,1,...; 1,0,1,0,1,0,...; 1,1,0,1,1,0,...; 1,0,1,0,1,0,...; 1,1,1,1,0,1,...; 1,0,0,0,1,0,...; etc.

MAPLE

reduced_residue_set_0_1_array := n -> one_or_zero(igcd(((n-((trinv(n)*(trinv(n)-1))/2))+1), ((((trinv(n)-1)*(((1/2)*trinv(n))+1))-n)+1) ));

one_or_zero := n -> `if`((1 = n), (1), (0)); # trinv given at A054425

CROSSREFS

Equal to A003989 with non-one values replaced with zeros. Cf. A047999, A054432, A055088.

Sequence in context: A077009 A078556 A047999 this_sequence A106470 A106465 A099990

Adjacent sequences: A054428 A054429 A054430 this_sequence A054432 A054433 A054434

KEYWORD

nonn,tabl

AUTHOR

Antti Karttunen

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified September 6 16:04 EDT 2008. Contains 143483 sequences.


AT&T Labs Research