OFFSET
1,2
COMMENTS
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
FORMULA
6*a(n) - 1 = A067256(n+1).
EXAMPLE
1 is in the sequence since 6*1 - 1 = 5, 12*1 - 1 = 11 and 18*1 - 1 = 17 are all primes, and 5*11*17 = 935 is a Lucas-Carmichael number.
MATHEMATICA
seq = {}; Do[ If[ AllTrue[{6 m - 1, 12 m - 1, 18 m - 1}, PrimeQ ], AppendTo[seq, m] ], {m, 1, 10^5} ]; seq
PROG
(PARI) isok(n) = isprime(6*n-1) && isprime(12*n-1) && isprime(18*n-1); \\ Michel Marcus, Aug 11 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Aug 11 2017
STATUS
approved