OFFSET
1,2
COMMENTS
Concatenation of some permutations of the n digits of A007376 is likely to be prime.
EXAMPLE
16 is in the sequence because the 16-digit number 1234567891011121 = 1 (mod 3).
MATHEMATICA
f[0] = 0; f[n_Integer] := 10^(Floor[Log[10, n]] + 1)*f[n - 1] + n; Select[ Range[140], Mod[ FromDigits[ Take[ IntegerDigits[ f[n]], n]], 3] != 0 &]
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Lekraj Beedassy, Jun 20 2002
EXTENSIONS
Edited by Robert G. Wilson v, Jun 21 2002
STATUS
approved