login
A014155
Sum of a nonnegative cube and a triangular number.
3
0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 14, 15, 16, 18, 21, 22, 23, 27, 28, 29, 30, 33, 36, 37, 42, 44, 45, 46, 48, 53, 55, 56, 63, 64, 65, 66, 67, 70, 72, 74, 78, 79, 82, 85, 86, 91, 92, 93, 99, 100, 105, 106, 109, 113, 118, 119, 120, 121, 125, 126, 128, 130, 131, 132, 135, 136, 137, 140, 142, 144, 146
OFFSET
1,3
LINKS
MAPLE
N:= 200: # for terms <= N
nC:= floor(surd(N, 3)): C:= {seq(i^3, i=0..nC)}:
nT:= floor((sqrt(1+8*N)-1)/2): T:= {seq(i*(i+1)/2, i=0..nT)}:
sort(convert(select(`<=`, {seq(seq(c+t, c=C), t=T)}, N), list)); # Robert Israel, Apr 17 2026
CROSSREFS
Cf. A014156 (complement).
Sequence in context: A057906 A039214 A032866 * A263579 A166527 A380076
KEYWORD
nonn
STATUS
approved