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!)
A083530 a(n) = 7^n mod (2*n). 6
1, 1, 1, 1, 7, 1, 7, 1, 1, 9, 7, 1, 7, 21, 13, 1, 7, 1, 7, 1, 7, 5, 7, 1, 7, 49, 1, 49, 7, 49, 7, 1, 13, 49, 63, 1, 7, 49, 31, 1, 7, 49, 7, 25, 37, 49, 7, 1, 49, 49, 37, 9, 7, 1, 43, 49, 1, 49, 7, 1, 7, 49, 91, 1, 37, 37, 7, 89, 67, 49, 7, 1, 7, 49, 43, 121, 105, 25, 7, 1, 1, 49, 7, 49, 147, 49 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
EXAMPLE
For n = 5, a(5) = 7 because 7^5 = 16807 = 1680*10 + 7, that is 7^5 == 7 (mod 2*5).
MATHEMATICA
Table[Mod[7^w, 2*w], {w, 1, 100}]
PROG
(PARI) a(n)=lift(Mod(7, 2*n)^n) \\ Charles R Greathouse IV, Oct 03 2016
CROSSREFS
Sequence in context: A231927 A199076 A132728 * A191562 A296472 A171544
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, Apr 30 2003
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 March 19 07:31 EDT 2024. Contains 370955 sequences. (Running on oeis4.)