// Generated by bynkc — do not edit by hand.
// commons demo

import { Ok, Err, Some, None, type Result, type Option, type ValidationError } from "./runtime.js";

export function formula(a: number, b: number): number {
  return Math.trunc((a + b) * (a - b) / 2);
}

