login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A178199 Smallest k such that 38^k mod k = n. 1
1, 37, 3, 5, 6, 11, 1438, 31, 9, 29, 18, 45021, 13, 5249, 22, 23, 20, 69, 25, 437, 21, 227643018837677, 42, 141, 50, 19877, 27, 121, 36, 303, 98, 49, 75, 329, 94, 261, 116, 9200543, 39, 87541720241623, 52, 1119, 1402, 510025, 356, 24829, 466, 51 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..47.

MATHEMATICA

aa = {}; Do[k = 1; While[PowerMod[38, k, k] != n, k++ ]; Print[{n, k}]; AppendTo[aa, k], {n, 1, 50}]; aa

sk[n_]:=Module[{k=1}, While[PowerMod[38, k, k]!=n, k++]; k]; Array[sk, 50, 0] (* Harvey P. Dale, Mar 14 2015 *)

CROSSREFS

Cf. A036236, A078457, A119678, A119679, A119714-A119716, A127817-A127821, A128154-A128372, A178194-A178202

Sequence in context: A190356 A051316 A278067 * A107812 A254324 A068843

Adjacent sequences:  A178196 A178197 A178198 * A178200 A178201 A178202

KEYWORD

nonn

AUTHOR

Artur Jasinski, May 23 2010

EXTENSIONS

Terms a(21) onward from Max Alekseyev, Apr 22 2012

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 16 20:38 EDT 2021. Contains 345070 sequences. (Running on oeis4.)