cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A089317 Prime worms [successive digit differences with absolute value of 4].

Original entry on oeis.org

151, 373, 95959, 9515959, 159595151, 159595951, 15151595951, 15951595151, 95951515159, 1515159515951, 1515959515951, 1515959595151, 1595159515151, 1595159595151, 9515151515159, 9515159515159, 9515159595959, 9595159515959
Offset: 0

Views

Author

Enoch Haga, Dec 25 2003

Keywords

Examples

			a(1)=373; first and last digits are 3; abs(3-7)=4; abs(7-3)=4; the worm is 3.
		

References

  • Carlos Rivera's primepuzzles.net, Puzzle 246

Crossrefs

This is a subsequence of A048401. Cf. A089291, A089315-A089316, A048398-A048405.

Formula

Select prime numbers having the same first and last digits; if the uniform absolute value of successive digit differences is 4, add to sequence.

Extensions

More terms from David Wasserman, Sep 09 2005