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”).

A364170
Related to expression as an alternating sum of k-th powers.
0
1, 3, 6, 10, 26, 170, 7226, 13053770, 42600227803226, 453694852221687377444001770, 51459754733114686962148583993443846186613037940783226, 662026589298079856793872781777756720070052610825509991367405555066143474558289627235647952526950580741770
OFFSET
1,2
COMMENTS
For n>=3 we have a(n+1) = (1/4)*(a(n)+2)^2 - a(n).
LINKS
E. Lemoine, Sur la décomposition d'un nombre en ses carrés maxima, Assoc. Française pour L'Avancement des Sciences (1896), 73-77.
MATHEMATICA
a[1]=1; a[2]=3; a[3]=6; a[n_]:=(1/4)(a[n-1]+2)^2 - a[n-1]; Array[a, 12] (* Stefano Spezia, Jul 12 2023 *)
CROSSREFS
Sequence in context: A117224 A173957 A048006 * A211231 A302094 A068818
KEYWORD
nonn,easy
AUTHOR
Jeffrey Shallit, Jul 12 2023
STATUS
approved