login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(1) = 1, a(n+1) = a(n) + smallest prime not added earlier if a(n) is noncomposite else a(n+1) = a(n) + the smallest composite number not added earlier.
1

%I #7 Dec 08 2015 02:39:31

%S 1,3,6,10,16,24,33,43,48,60,74,89,96,112,130,150,171,193,204,228,253,

%T 279,306,334,364,396,429,463,476,511,547,564,602,641,660,700,742,786,

%U 831,877,900,948,997,1026,1076,1127,1179,1233,1288,1344,1401,1459,1490

%N a(1) = 1, a(n+1) = a(n) + smallest prime not added earlier if a(n) is noncomposite else a(n+1) = a(n) + the smallest composite number not added earlier.

%Y Cf. A088638.

%K nonn

%O 1,2

%A _Amarnath Murthy_, Oct 26 2003

%E More terms from _David Wasserman_, Aug 16 2005