The document presents a novel optimization approach for the apriori algorithm focused on frequent 2-itemsets, proposing an efficient method for discovering association rules. The method involves calculating and pruning 1-itemsets based on a minimum support threshold, leading to quicker identification of itemsets. Experimental results showcase the effectiveness of the proposed algorithm, named opti2i, in comparison to existing algorithms on weakly correlated data.