OFFSET
1,1
COMMENTS
All the odd primes are in the sequence.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
s = {}; k1 = k2 = 1; Do[k3 = ((6*n - 9)*k2 - (n - 3)*k1)/n; If[Divisible[k3, n], AppendTo[s, n]]; k1 = k2; k2 = k3, {n, 3, 300}]; s (* Amiram Eldar, Jun 28 2022 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Oct 09 2002
STATUS
approved