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 A175965 #26 Sep 28 2016 08:04:49 %S A175965 1,2,4,7,12,19,30,43,60,79,102,131,162,199,240,283,330,383,442,503, %T A175965 570,641,714,793,876,965,1062,1163,1266,1373,1482,1595,1722,1853,1990, %U A175965 2129,2278,2429,2586,2749,2916,3089,3268,3449,3640,3833,4030,4229,4440,4663 %N A175965 Lexicographically earliest sequence with first differences as increasing sequence of noncomposites A008578. %C A175965 Complement of A175966. %C A175965 A175944(a(n)) = A018252(n). - _Reinhard Zumkeller_, Mar 18 2011 %H A175965 Reinhard Zumkeller, <a href="/A175965/b175965.txt">Table of n, a(n) for n = 1..10000</a> %F A175965 a(n) = A036439(n-1) for n > 1. %F A175965 a(n) - a(n-1) = A008578(n-1) for n > 1. %F A175965 a(n) = A014284(n-1) + 1 for n > 1. %t A175965 FoldList[Plus,1,Join[{1},Prime[Range[50]]]] (* or *) Accumulate[ Join[ {1,1},Prime[Range[50]]]] (* _Harvey P. Dale_, Sep 28 2016 *) %o A175965 (Haskell) %o A175965 a175965 n = a175965_list !! n %o A175965 a175965_list = scanl (+) 1 a008578_list %o A175965 -- _Reinhard Zumkeller_, Mar 26 2015 %Y A175965 Cf. A008578, A014284, A018252, A036439, A051349. %Y A175965 Cf. A175944, A175966, A175967, A175968, A175969, A175970. %K A175965 nonn %O A175965 1,2 %A A175965 _Jaroslav Krizek_, Oct 31 2010