A211006 Pair (n,p) where n is the sum of adjacent nonprimes and p is the sum of adjacent primes.
1, 5, 4, 5, 6, 7, 27, 11, 12, 13, 45, 17, 18, 19, 63, 23, 130, 29, 30, 31, 170, 37, 117, 41, 42, 43, 135, 47, 250, 53, 280, 59, 60, 61, 320, 67, 207, 71, 72, 73, 380, 79, 243, 83, 430, 89, 651, 97, 297, 101, 102, 103, 315, 107, 108, 109, 333, 113, 1560, 127, 387, 131
Offset: 1
Examples
----------------------------------------- . Array from n A000027 a(n) ----------------------------------------- 1 1; 1 2 2, 3; 5 3 4; 4 4 5; 5 5 6; 6 6 7; 7 7 8, 9, 10; 27 8 11; 11 9 12; 12 10 13; 13 11 14, 15, 16; 45 12 17; 17 13 18; 18 14 19; 19 15 20, 21, 22; 63 16 23; 23 17 24, 25, 26, 27, 28; 130
Formula
a(n) = A109921(n+2), n >= 3.