a(n) is the least k such that the remainder when 8^k is divided by k is n.

A119714

a(n) is the least k such that the remainder when 8^k is divided by k is n.

Terms

    a(0) =7a(1) =3a(2) =5a(3) =6a(4) =39a(5) =58a(6) =7342733a(7) =9a(8) =36196439a(9) =18a(10) =501a(11) =26a(12) =13607a(13) =249a(14) =119a(15) =20a(16) =33a(17) =25a(18) =866401a(19) =22a(20) =533a(21) =35a(22) =185a(23) =50a(24) =196673a(25) =27a(26) =1843a(27) =36a(28) =69a(29) =34

External references