OFFSET
1,2
COMMENTS
Is the sequence finite? Surprisingly it contains the finite sequence A020608 (2,5,17,19,43,61).
LINKS
Emmanuel Vantieghem, Table of n, a(n) for n = 1..306
EXAMPLE
a(4) = 17 because 117, 217 and 517 are all composite.
MATHEMATICA
(* to compute the terms up to B *)
K[m_Integer, n_Integer] := n + m 10^IntegerLength[n];
A = {1, 2}; i = 2; b = 2; While[b < B, i++; m = Last[A];
b = NextPrime[m]; flag = 0;
While[flag == 0, j = 1; While[j < i && ! PrimeQ[K[A[[j]], b]], j++];
If[j == i, flag = 1; AppendTo[A, b],
b = NextPrime[b]]]]; A (* Emmanuel Vantieghem, Nov 28 2015 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Sep 28 2002
EXTENSIONS
More terms from David Wasserman, Jan 21 2005
STATUS
approved