This is not a fibonacci stream.
LongStream digits = LongStream.of(0, 1, 2 , 3 , 4, 5, 6, 7, 8, 9);
Neither is this.
LongStream naturals = LongStream.iterate(1, (i) -> i + 1);
But, how do you check that they are not?
Notice that the second stream is infinite, so you need some short-circuit operation to stop as soon as possible. Unfortunately, the short-circuit methods 'allMatch' and 'anyMatch' only tests on elements, not the sequence.