OFFSET
1,2
COMMENTS
In other words, least common refinement of the natural numbers and the odd numbers.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
As natural numbers: 1,2,1+2,3+1,5,1+5,4+3,8,...
As odd numbers: 1,2+1,2+3,1+5+1,5+4,3+8,...
PROG
(Haskell)
a117704 n = a117704_list !! (n-1)
a117704_list = 1 : zipWith (-) (tail a005214_list) a005214_list
-- Reinhard Zumkeller, Aug 03 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Franklin T. Adams-Watters, Apr 27 2006
STATUS
approved