// No.1256 連続整数列 package main import ( "fmt" ) func main() { var A int fmt.Scan(&A) a, b := 3, 3 for a <= A { if (A-a)%b == 0 { fmt.Println("Yes") return } a += b b++ } fmt.Println("No") }