cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A083796 Triangle read by rows in which the n-th row contains n lexicographically earliest distinct numbers such that the sum of the (n-1) terms other than the r-th term is divisible by r.

Original entry on oeis.org

1, 2, 1, 1, 2, 3, 1, 2, 5, 6, 1, 2, 3, 4, 14, 1, 2, 3, 4, 8, 30, 1, 2, 3, 4, 5, 6, 39, 1, 2, 3, 4, 5, 6, 11, 28, 1, 2, 3, 4, 5, 6, 7, 8, 804, 1, 2, 3, 4, 5, 6, 7, 8, 24, 1620, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2465, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 17, 15048, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Offset: 1

Views

Author

Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 08 2003

Keywords

Comments

See A101085 for more information.

Examples

			The triangle begins:
1
2 1
1 2 3
1 2 5 6
1 2 3 4 14
1 2 3 4 8 30
1 2 3 4 5 6 39
1 2 3 4 5 6 11 28
1 2 3 4 5 6 7 8 804
1 2 3 4 5 6 7 8 24 1620
1 2 3 4 5 6 7 8 9 10 2465
1 2 3 4 5 6 7 8 9 10 17 15048
		

Crossrefs

Programs

  • PARI
    { A083796row(n) = my(r,s,t,m); r=vector(n); s=Mod(0,1); for(i=1,n-1, m=gcd(s.mod,i); t=lift(s)%m; while( setsearch(Set(r),t) || (i==n-1 && Mod(sum(j=1,n-2,r[j])+t,n)), t+=m ); r[i]=t; s=chinese(s,Mod(t,i)); ); t=lift(s)-sum(j=1,n-1,r[j]); while( t<=0 || setsearch(Set(r),t), t+=s.mod ); r[n]=t; r; } /* Max Alekseyev, Nov 04 2015 */

Extensions

Edited by Gareth McCaughan, Jun 10 2004

A083797 Diagonal of A083796.

Original entry on oeis.org

1, 1, 3, 6, 14, 30, 39, 28, 804, 1620, 2465, 15048, 27642, 138502, 360255, 360120, 720584, 8648478, 12252069, 208287880, 232792350, 232792098, 232792307, 2327925312, 5354228580, 16062686250, 26771144049, 26771143896, 80313432794
Offset: 1

Views

Author

Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 08 2003

Keywords

Crossrefs

Extensions

More terms from David Wasserman, Nov 30 2004
Showing 1-2 of 2 results.