Post History
C (gcc), 40 bytes i;f(n){for(i=1;n>0;n-=i,i+=2);return!n;} Try it online!
Answer
#1: Initial revision
# [C (gcc)], 40 bytes <!-- language-all: lang-c --> i;f(n){for(i=1;n>0;n-=i,i+=2);return!n;} [Try it online!][TIO-ktfkgycy] [C (gcc)]: https://gcc.gnu.org/ [TIO-ktfkgycy]: https://tio.run/##lZBBT8JAEIXv@yueGJLWLtpiA8SlXP0BegMO2G5hEpjqbstB0t9et2uEyMHE02Y2733vzeSjbZ53Haky4PBUViagLFG8iBWPMpIUZeNQGV03hm9Ytd0tcb5vCo25rQuq7ncLIY4VFai1rQPiGhyKkwDejRvKYDBMxoTRAkNa8UCCJfqkUIlWiF7e@/KN1Xa5RoYTYolEYpJKzGYS4ySdprPHSTpFq7yem0NvsU5s6VNXZXAmhA/XP8t47ZK877AhDn5Xe6ajZl8AXv3kGjo54M4Avwu5lFi5Z37OVYgiCp0I3ytfsmjtzT/0Fb8Qb/caBW3J937T5u@MJL6m0xXydadRknGNkxj2o9kY/W/kXQ915@@@AA "C (gcc) – Try It Online"