OFFSET
1,5
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
FORMULA
MATHEMATICA
PROG
(Magma)
A023533:= func< n | Binomial(Floor((6*n-1)^(1/3)) +2, 3) ne n select 0 else 1 >;
(Sage)
@CachedFunction
def A023533(n): return 1 if binomial(floor((6*n-1)^(1/3)) +2, 3)!=n else 0
[A023671(n) for n in (1..100)] # G. C. Greubel, Jul 18 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved