cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A195610 Smallest k such that A014657(n) divides 2^k + 1.

Original entry on oeis.org

0, 0, 1, 2, 3, 5, 6, 4, 9, 10, 9, 14, 5, 18, 10, 7, 26, 9, 29, 30, 6, 33, 27, 41, 24, 15, 50, 53, 18, 14, 55, 50, 7, 65, 34, 69, 14, 74, 26, 81, 78, 9, 86, 29, 89, 90, 18, 48, 98, 33, 10, 45, 105, 113, 38, 12, 81, 41, 25, 8, 26, 134, 46, 35, 47, 68, 146, 45
Offset: 1

Views

Author

Reinhard Zumkeller, Sep 21 2011

Keywords

Crossrefs

Programs

  • Haskell
    import Data.List (elemIndex)
    import Data.Maybe (catMaybes)
    a195610 n = a195610_list !! (n-1)
    a195610_list = catMaybes $ map k [1..] where
       k x = elemIndex 0 $ map (`mod` x) $ take (fromInteger x) a000051_list

Formula

2^a(n) + 1 = A337220(n)*A014657(n), n>=1. - Wolfdieter Lang, Aug 22 2020