login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A224503 Smallest nontrivial prime power congruent to 1 mod n. 2
3, 4, 5, 11, 7, 8, 9, 19, 11, 23, 13, 27, 29, 16, 17, 103, 19, 191, 41, 43, 23, 47, 25, 101, 27, 109, 29, 59, 31, 32, 97, 67, 103, 71, 37, 149, 191, 79, 41, 83, 43, 173, 89, 181, 47, 283, 49, 197, 101, 103, 53, 107, 109, 331, 113, 229, 59 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
MAPLE
A224503 := proc(n)
local i;
for i from 2 do
if (A000961(i) mod n) = 1 then
return A000961(i);
end if;
end do:
end proc:
seq(A224503(n), n=2..100);
MATHEMATICA
a[n_] := For[k = 2, True, k++, If[PrimePowerQ[k], If[Mod[k, n] == 1, Return[k]]]];
Table[a[n], {n, 2, 100}] (* Jean-François Alcover, May 18 2018 *)
CROSSREFS
Sequence in context: A332790 A329524 A319067 * A349005 A128920 A006288
KEYWORD
nonn
AUTHOR
R. J. Mathar, Apr 08 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 3 19:56 EDT 2024. Contains 372222 sequences. (Running on oeis4.)