OFFSET
1,1
LINKS
Jean-François Alcover, Table of n, a(n) for n = 1..10000
EXAMPLE
30 = 18 + 12 = 2*3^2 + 3*2^2, therefore 30 is a term.
MATHEMATICA
wmax = 240;
Table[w = 2 u^2 + 3 v^2; If[w <= wmax, w, Nothing], {u, 1, Sqrt[wmax/2] // Ceiling}, {v, 1, Sqrt[wmax/3] // Ceiling}] // Flatten // Union (* Jean-François Alcover, Dec 13 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 10 2003
STATUS
approved