OFFSET
1,1
COMMENTS
While some palindromic primes are included, there are other criteria for addition to this sequence.
REFERENCES
Carlos Rivera's primepuzzles.net, Puzzle 246
LINKS
Carlos Rivera, Puzzle 246. The worms
FORMULA
From sequence of primes beginning with 3-digits, select those with identical first and last digits; no adjacent digits identical; and absolute value of sequential differences of paired digits a constant.
EXAMPLE
a(15)=12101; first and last digits = 1; no identical adjacent digits; abs(1-2)=1;abs(2-1)=1; abs(1-0)=1; abs(0-1)=1; the worm is 1.
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Enoch Haga, Dec 27 2003
STATUS
approved