OFFSET
1,2
COMMENTS
The first two primes in this sequence occur for n = 10 (a(10) = 131870666077) and n = 37 (a(37) = 569432644200356239518976257368822195317881440478377541397) (email from Kurt Foster, Oct 24 2015). What is the next prime? - N. J. A. Sloane, Oct 25 2015
After a(37), there are no more primes through a(4000) = 2.2670...*10^14538. - Jon E. Schoenfield, Jan 19 2018
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
EXAMPLE
a(8): (1)(2)(3)(4)(5)(6)(10)(11) = 1234561011_7 = 54923226.
MATHEMATICA
a[n_]:= FromDigits[Flatten@IntegerDigits[Range@n, 7], 7]; Array[a, 20] (* Vincenzo Librandi, Dec 30 2012 *)
PROG
(Magma) [n eq 1 select 1 else Self(n-1)*7^(1+Ilog(7, n))+n: n in [1..20]]; // Vincenzo Librandi, Dec 30 2012
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Patrick De Geest, May 15 1999
STATUS
approved