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.
%I A275989 #15 Sep 03 2016 23:52:54 %S A275989 3,4,8,12,26,30,44,52,66,84,100,126,140,150,176,198,222,232,270,288, %T A275989 300,330,350,374,424,456,466,486,492,506,592,612,650,670,714,730,772, %U A275989 808,830,860,890,910,972,988,1016,1024,1090,1200,1212,1222,1248,1272,1290,1350,1370,1430,1464 %N A275989 a(n) = prime(prime(n)+1) - prime(n). %F A275989 a(n) = A000040(A008864(n)) - A000040(n) = A072677(n) - A000040(n). %e A275989 For n=3, prime(prime(3)+1) = 13, and prime(3) = 5, therefore a(3) = 13 - 5 = 8. %t A275989 Table[Prime[Prime[n]+1] - Prime[n], {n, 1, 100}] %o A275989 (PARI) a(n) = prime(prime(n)+1) - prime(n); \\ _Michel Marcus_, Aug 18 2016 %Y A275989 Cf. A072677, A008864, A168152, A275990. %K A275989 nonn %O A275989 1,1 %A A275989 _Terry D. Grant_, Aug 15 2016