%I #11 Nov 11 2013 14:17:46
%S 1,1,2,2,2,2,2,1,1,2,1,2,1,1,2,1,1,0,1,1,0,0,0,1,2,0,2,1,0,1,0,1,1,0,
%T 1,1,0,0,0,0,0,0,0,1,0,1,0,1,1,0,1,0,0,1,1,1,0,1,1,0,0,0,1,1,1,0,0,0,
%U 2,1,0,1,0,1,0,0,0,1,1,1,0,1,0,1,0,0,1,0,0,0,1,0,1,1,0,1,1,1,0,0,0,1,1,2,0,0
%N The number of primes adjacent to A129912(n): 0, 1 or 2.
%H Bill McEachen, <a href="/A172069/b172069.txt">Table of n, a(n) for n = 1..282</a>
%e Both 415799 and 415801 are prime, so the entry at 415800 (n=27) is a 2 (twin primes).
%e Neither 27719 nor 27721 are prime, so the entry at 27720 (n=18) is a 0.
%Y Cf. A129912.
%K easy,nonn
%O 1,3
%A _Bill McEachen_, Jan 24 2010
%E Offset corrected and sequence extended by _R. J. Mathar_, Feb 19 2010
%E a(1) added by _T. D. Noe_, Nov 11 2013
|