OFFSET
0,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = (n+1)*A005206(n) where A005206 is the Hofstadter G-sequence. [Apparently this is a conjecture, rather than a theorem. - N. J. A. Sloane, Mar 03 2019]
a(n) = Sum_{k=0..n} A002251(k). - Michel Marcus, Nov 13 2017
MATHEMATICA
With[{n = 34}, Accumulate@ Prepend[Take[Values@ #, LengthWhile[#, # == 1 &] &@ Differences@ Keys@ #], 0] &@ Sort@ Flatten@ Map[{#1 -> #2, #2 -> #1} & @@ # &, Transpose@ {Array[Floor[# GoldenRatio] &, n], Array[Floor[# GoldenRatio^2] &, n]}]] (* Michael De Vlieger, Nov 14 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Enrique Navarrete, Oct 14 2017
EXTENSIONS
Offset changed to 0 by Michel Marcus, Nov 13 2017
STATUS
approved