A statistical analysis with 12 288 autocorrelation functions applied in protein (coding) genes of prokaryotes and eukaryotes identifies three subsets of trinucleotides in their three frames: T 0 = X 0 @ {AAA, TTT} with X 0 = {AAC, AAT, ACC, ATC, ATT, CAG, CTC, CTG, GAA, GAC, GAG, GAT, GCC, GGC, GGT, GTA, GTC, GTT, TAC, TTC} in frame 0 (the reading frame established by the ATG start trinucleotide), T 1 = X 1 @ {CCC} in frame 1 and T 2 = X 2 @{GGG} in frame 2 (the frames 1 and 2 being the frame 0 shifted by one and two nucleotides, respectively, to the right). These three subsets are identical in these two gene populations and have five important properties: (i) the property of maximal (20 trinucleotides) circular code for X 0 (resp. X 1 , X 2 ) allowing to retrieve automatically the frame 0 (resp. 1, 2) in any region of the gene without start codon; (ii) the DNA complementarity property C (e.g. C(AAC)= GTT): C(T 0 )=T 0 , C(T 1 )=T 2 and C(T 2 )=T 1 allowing the two paired reading frames of a DNA double helix simultaneously to code for amino acids; (iii) the circular permutation property P (e.g. P(AAC)= ACA): P(X 0 )=X 1 and P(X 1 )=X 2 implying that the two subsets X 1 and X 2 can be deduced from X 0 ; (iv) the rarity property with an occurrence probability of X 0 =6×10 − 8 ; and (v) the concatenation properties in favour of an evolutionary code: a high frequency (27.5%) of misplaced trinucleotides in the shifted frames, a maximum (13 nucleotides) length of the minimal window to retrieve automatically the frame and an occurrence of the four types of nucleotides in the three trinucleotide sites. In Discussion, a simulation based on an independent mixing of the trinucleotides of T 0 allows to retrieve the two subsets T 1 and T 2 . Then, the identified subsets T 0 , T 1 and T 2 replaced in the 2-letter genetic alphabet {R, Y} (R =purine= A or G, Y=pyrimidine= C or T) allow to retrieve the RNY model (N=R or Y) and to explain previous works in the alphabet {R, Y}. Then, these three subsets are related to the genetic code. The trinucleotides of T 0 code for 13 amino acids: Ala, Asn, Asp, Gln, Glu, Gly, Ile, Leu, Lys, Phe, Thr, Tyr and Val. Finally, a strong correlation between the usage of the trinucleotides of T 0 in protein genes and the amino acid frequencies in proteins is observed as six among seven amino acids not coded by T 0 , have as expected the lowest frequencies in proteins of both prokaryotes and eukaryotes.