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.

A175766 Greater of "twin numbers": Omega(n) = Omega(n - 2^Omega(n)), where Omega is A001222.

Original entry on oeis.org

5, 7, 10, 13, 14, 19, 20, 25, 26, 28, 31, 38, 39, 40, 43, 50, 52, 55, 56, 61, 62, 69, 73, 76, 78, 80, 86, 91, 95, 100, 103, 104, 109, 110, 112, 115, 119, 122, 123, 124, 125, 133, 138, 139, 145, 146, 151, 152, 156, 159, 160, 172, 181, 182, 187, 190, 193, 199, 200, 205, 206, 208
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Sep 01 2010

Keywords

Comments

Generalizes the twin primes. Superset of A006512.

Examples

			"Twin numbers" are (3, 5), (5, 7), (6, 10), (11, 13), (10, 14), (17, 19), (12, 20), (21, 25), (22, 26), (20, 28), (29, 31), (34, 38), (35, 39), (24, 40), (41, 43), (42, 50), (44, 52), (51, 55), (40, 56), (59, 61), (58, 62), (65, 69), (71, 73), ...
		

Crossrefs

Programs

  • PARI
    for(n=1,1e3,o=bigomega(n);trap(, ,if(o==bigomega(n-2^o),print1(n","))))

Extensions

Entry rewritten by Charles R Greathouse IV, Sep 01 2010