# iterNonFibonacciSeq
> Create an iterator which generates a [non-Fibonacci integer sequence][fibonacci-number].
The nth [non-Fibonacci number][fibonacci-number] is given by
where `φ` is the [golden ratio][golden-ratio].
## Usage
```javascript
var iterNonFibonacciSeq = require( '@stdlib/math/iter/sequences/nonfibonacci' );
```
#### iterNonFibonacciSeq( \[options] )
Returns an iterator which generates a [non-Fibonacci integer sequence][fibonacci-number].
```javascript
var it = iterNonFibonacciSeq();
// returns
## Notes
- If an environment supports `Symbol.iterator`, the returned iterator is iterable.
## Examples
```javascript
var iterNonFibonacciSeq = require( '@stdlib/math/iter/sequences/nonfibonacci' );
// Create an iterator:
var opts = {
'iter': 100
};
var it = iterNonFibonacciSeq( opts );
// Perform manual iteration...
var v;
while ( true ) {
v = it.next();
if ( v.done ) {
break;
}
console.log( v.value );
}
```
* * *
## References
- Gould, H.W. 1965. "Non-Fibonacci Numbers." _Fibonacci Quarterly_, no. 3: 177–83. [<http://www.fq.math.ca/Scanned/3-3/gould.pdf>][@gould:1965a].
- Farhi, Bakir. 2011. "An explicit formula generating the non-Fibonacci numbers." _arXiv_ abs/1105.1127 \[Math.NT] (May): 1–5. [<https://arxiv.org/abs/1105.1127>][@farhi:2011a].
[fibonacci-number]: https://en.wikipedia.org/wiki/Fibonacci_number
[golden-ratio]: https://en.wikipedia.org/wiki/Golden_ratio
[@gould:1965a]: http://www.fq.math.ca/Scanned/3-3/gould.pdf
[@farhi:2011a]: https://arxiv.org/abs/1105.1127