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.

A065569 Smallest k such that omega(n+k) = omega(k).

Original entry on oeis.org

2, 2, 2, 3, 2, 2, 2, 3, 2, 3, 2, 4, 3, 2, 2, 3, 2, 5, 4, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 14, 5, 4, 3, 2, 5, 4, 3, 2, 3, 2, 5, 4, 3, 2, 3, 2, 5, 4, 3, 2, 6, 8, 5, 4, 3, 2, 3, 2, 4, 3, 2, 4, 3, 2, 5, 4, 3, 2, 3, 2, 7, 8, 5, 4, 3, 2, 3, 2, 3, 2, 6, 10, 5, 4, 3, 2, 6, 6, 6, 15, 5, 4, 3, 2, 5, 4, 3, 2, 3, 2, 5, 4
Offset: 1

Views

Author

Jason Earls, Nov 30 2001

Keywords

Crossrefs

Programs

  • PARI
    a(n)= {for(k=1, oo, if(omega(k)==omega(n+k), return(k)))}