OFFSET
1,2
COMMENTS
a(n) = 1 if and only if n is a triangular number.
Indices of conjectured 0's: 4, 9, 16, 25, 49, 64, 81, 121, 144, 169, 225, 256, 289, 361, 400, 441, 529, 576, 625, 729, ... These are squares of 2, 3, 4, 5, 7, 8, 9, 11, 12, 13, 15, 16, 17, 19, 20, 21, 23, 24, 25, 27.
a(n) = 0 if n = p^(2*j) where p is a prime and j > 0. - Jon E. Schoenfield, Sep 17 2023
EXAMPLE
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Jun 29 2013
EXTENSIONS
a(1)-a(25) and a(49)-a(67) from Jon E. Schoenfield, Sep 17 2023
STATUS
approved