OFFSET
1,2
COMMENTS
This is (essentially) the sequence c() mentioned in the definition of A022941.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..10000
MAPLE
a[1]:=1: a[2]:=2: c[1]:=3: for n from 2 to 70 do c[n]:=c[n-1]+1: for k from 1 to n do if(c[n]<=a[k])then if(c[n]=a[k])then c[n]:=c[n]+1: fi: break: fi: od: a[n+1]:=a[n]+c[n-1]: od: seq(c[n], n=1..70); # Nathaniel Johnston, May 01 2011
PROG
(Haskell)
import Data.List (delete)
a143344 n = a143344_list !! (n-1)
a143344_list = zipWith (-) (tail a022941_list) a022941_list
-- Reinhard Zumkeller, May 17 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 01 2009
EXTENSIONS
a(26), a(27) corrected by Nathaniel Johnston, May 01 2011
STATUS
approved