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.

A174479 Triangle read by rows: T(n,k) = semiprime(n) mod A065516(k), where A065516 are differences between consecutive semiprimes.

Original entry on oeis.org

0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0, 2, 0, 2, 0, 1, 0, 0, 3, 0, 3, 1, 0, 0, 1, 0, 3, 0, 0, 1, 0, 2, 0, 4, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 2, 0, 2, 0, 2, 0, 2, 0, 5, 1, 0, 0, 1, 0, 3, 0, 0, 0, 5, 0, 0, 1, 0, 2, 0, 4, 0, 1, 0, 6, 0, 0, 1, 2, 0, 3, 0, 5, 0, 2, 0, 0, 0, 0, 2
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Nov 28 2010

Keywords

Examples

			The triangle starts in row n=1 with columns 1 <= k <= n:
  0;
  0, 0;
  1, 0, 0;
  0, 1, 0, 2;
  0, 2, 0, 2, 0;
  1, 0, 0, 3, 0, 3;
		

Crossrefs

Programs

  • Maple
    A001358 := proc(n) if n= 1 then 4; else for a from procname(n-1)+1 do if numtheory[bigomega](a) = 2 then return a; end if; end do; end if; end proc:
    A065516 := proc(n) A001358(n+1)-A001358(n) ;end proc:
    A174479 := proc(n,k) A001358(n) mod A065516(k) ; end proc: