# iterSquaredTriangularSeq
> Create an iterator which generates a sequence of [squared triangular numbers][oeis-a000537].
The [squared triangular numbers][squared-triangular-number] are the integer sequence
starting at the 0th [squared triangular number][squared-triangular-number].
[Triangular numbers][@stdlib/math/iter/sequences/triangular] are given by the following explicit formulas
where the last formula corresponds to a [binomial coefficient][@stdlib/math/base/special/binomcoef], representing the number of distinct pairs that can be selected from `n+1` items.
The nth [squared triangular number][squared-triangular-number] is the nth [triangular number][@stdlib/math/iter/sequences/triangular] squared.
## Usage
```javascript
var iterSquaredTriangularSeq = require( '@stdlib/math/iter/sequences/squared-triangular' );
```
#### iterSquaredTriangularSeq( \[options] )
Returns an iterator which generates a sequence of [squared triangular numbers][squared-triangular-number].
```javascript
var it = iterSquaredTriangularSeq();
// returns
## Notes
- If an environment supports `Symbol.iterator`, the returned iterator is iterable.
## Examples
```javascript
var iterSquaredTriangularSeq = require( '@stdlib/math/iter/sequences/squared-triangular' );
// Create an iterator:
var opts = {
'iter': 100
};
var it = iterSquaredTriangularSeq( opts );
// Perform manual iteration...
var v;
while ( true ) {
v = it.next();
if ( v.done ) {
break;
}
console.log( v.value );
}
```
[oeis-a000537]: https://oeis.org/A000537
[squared-triangular-number]: https://en.wikipedia.org/wiki/Squared_triangular_number
[@stdlib/math/iter/sequences/triangular]: https://www.npmjs.com/package/@stdlib/math/tree/main/iter/sequences/triangular
[@stdlib/math/base/special/binomcoef]: https://www.npmjs.com/package/@stdlib/math/tree/main/base/special/binomcoef