login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A128395
Numbers k such that k^2 divides 15^k-1.
15
1, 2, 4, 7, 8, 14, 16, 28, 56, 112, 136, 272, 452, 812, 904, 952, 1624, 1808, 1904, 3164, 3248, 6328, 11912, 12656, 15368, 18632, 23824, 27608, 30736, 37264, 47908, 55216, 60248, 83384, 91756, 95816, 102604, 107576, 113936, 120496, 130424, 166768
OFFSET
1,2
LINKS
MATHEMATICA
a={1}; For[n=1, n<200000, n++, If[PowerMod[15, n, n^2]==1, AppendTo[a, n]]]; a (* Stefan Steinerberger, Jun 10 2007 *)
Join[{1}, Select[Range[167000], PowerMod[15, #, #^2]==1&]] (* Harvey P. Dale, Sep 14 2020 *)
PROG
(PARI) is(k) = Mod(15, k^2)^k == 1; \\ Amiram Eldar, May 21 2024
KEYWORD
nonn,less
AUTHOR
Alexander Adamchuk, Mar 01 2007
EXTENSIONS
More terms from Stefan Steinerberger, Jun 10 2007
STATUS
approved