login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A175965
Lexicographically earliest sequence with first differences as increasing sequence of noncomposites A008578.
10
1, 2, 4, 7, 12, 19, 30, 43, 60, 79, 102, 131, 162, 199, 240, 283, 330, 383, 442, 503, 570, 641, 714, 793, 876, 965, 1062, 1163, 1266, 1373, 1482, 1595, 1722, 1853, 1990, 2129, 2278, 2429, 2586, 2749, 2916, 3089, 3268, 3449, 3640, 3833, 4030, 4229, 4440, 4663
OFFSET
1,2
COMMENTS
Complement of A175966.
A175944(a(n)) = A018252(n). - Reinhard Zumkeller, Mar 18 2011
LINKS
FORMULA
a(n) = A036439(n-1) for n > 1.
a(n) - a(n-1) = A008578(n-1) for n > 1.
a(n) = A014284(n-1) + 1 for n > 1.
MATHEMATICA
FoldList[Plus, 1, Join[{1}, Prime[Range[50]]]] (* or *) Accumulate[ Join[ {1, 1}, Prime[Range[50]]]] (* Harvey P. Dale, Sep 28 2016 *)
PROG
(Haskell)
a175965 n = a175965_list !! n
a175965_list = scanl (+) 1 a008578_list
-- Reinhard Zumkeller, Mar 26 2015
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Oct 31 2010
STATUS
approved