OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
Sum_{n>=1} 1/a(n) = 9*Pi^2/64. - Amiram Eldar, Jun 02 2022
MAPLE
N:= 10000: # to get all terms <= N
sort([seq(k^2, k=1..floor(sqrt(N)), 2), seq(8*k^2, k=1..floor(sqrt(N/8)), 2)]); # Robert Israel, Nov 18 2016
MATHEMATICA
max = 6000; Sort[Join[Table[n^2, {n, 1, Floor[Sqrt[max]], 2}], Table[8*n^2, {n, 1, Floor[Sqrt[max/8]], 2}]]] (* Amiram Eldar, Jun 02 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 04 2016, based on a suggestion from Benoit Cloitre.
EXTENSIONS
More terms from Joerg Arndt, Nov 05 2016
STATUS
approved