A216522 Integers of the form 2*x + 3*y with nonnegative x and y, with repetitions.
0, 2, 3, 4, 5, 6, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 13, 13, 14, 14, 14, 15, 15, 15, 16, 16, 16, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 23, 23, 23, 24, 24, 24, 24, 24, 25, 25, 25, 25, 26, 26, 26
Offset: 0
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 0..20000
Crossrefs
Cf. A086419.
Programs
-
Mathematica
Sort[Flatten[Table[2*x+3*y,{x,0,100},{y,0,(100-2x)/3}]]]
Comments