a(n) is the smallest positive integer k such that 3^n - 2 divides 3^(n + k) + 2, or 0 if there is no such k.

A298940

a(n) is the smallest positive integer k such that 3^n - 2 divides 3^(n + k) + 2, or 0 if there is no such k.

Terms

    a(0) =1a(1) =3a(2) =10a(3) =39a(4) =60a(5) =121a(6) =0a(7) =117a(8) =4920a(9) =0a(10) =0a(11) =0a(12) =28322a(13) =0a(14) =1434890a(15) =0a(16) =0a(17) =0a(18) =116226146a(19) =0a(20) =0a(21) =15690529803a(22) =0a(23) =108443565a(24) =66891206007a(25) =0a(26) =0a(27) =0a(28) =0a(29) =0

External references