OFFSET
1,1
COMMENTS
Generalizes the twin primes. Superset of A006512.
EXAMPLE
"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), ...
PROG
(PARI) for(n=1, 1e3, o=bigomega(n); trap(, , if(o==bigomega(n-2^o), print1(n", "))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Sep 01 2010
EXTENSIONS
Entry rewritten by Charles R Greathouse IV, Sep 01 2010
STATUS
approved