OFFSET
1,2
COMMENTS
Subsequence of A018252.
Sequence is finite; last term is a(9885995) = 999999999. - Charles R Greathouse IV, Dec 30 2012
PROG
(PARI) is(n)=my(d=digits(n)); !isprime(n) && d[1]==n%10 && d[1] == #d \\ Charles R Greathouse IV, Dec 29 2012
CROSSREFS
KEYWORD
nonn,base,fini
AUTHOR
Juri-Stepan Gerasimov, Jan 27 2009
EXTENSIONS
The definition was unclear, but I have made a guess as to what was intended. - N. J. A. Sloane, Feb 02 2009
Added requirement on digit count to the definition R. J. Mathar, Feb 13 2009
STATUS
approved