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!)
A333335 a(n) is the smallest positive number k such that n divides 4^k + k. 3
1, 2, 2, 4, 1, 2, 5, 8, 2, 4, 10, 8, 4, 6, 11, 16, 13, 2, 12, 4, 5, 10, 22, 8, 21, 4, 11, 48, 28, 14, 30, 32, 17, 16, 31, 20, 7, 12, 29, 24, 40, 26, 42, 68, 11, 22, 44, 32, 5, 44, 86, 4, 52, 38, 51, 48, 59, 28, 50, 44, 60, 30, 47, 64, 4, 68, 3, 16, 158, 94, 70 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Brazil National Olympiad, 2005, Problem 6
FORMULA
a(4^m) = 4^m for m >= 0.
PROG
(PARI) a(n) = for(k=1, oo, if(Mod(4, n)^k==-k, return(k)));
CROSSREFS
Sequence in context: A317836 A214740 A064848 * A212791 A175001 A205843
KEYWORD
nonn,easy
AUTHOR
Jinyuan Wang, Apr 14 2020
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 April 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)