|
| |
| |
|
|
|
1, 1, 3, 1, 3, 9, 3, 1, 9, 9, 3, 9, 3, 9, 27, 1, 3, 9, 3, 1, 27, 9, 3, 33, 43, 9, 27, 25, 3, 9, 3, 1, 27, 9, 47, 9, 3, 9, 27, 1, 3, 57, 3, 81, 63, 9, 3, 33, 31, 49, 27, 81, 3, 81, 67, 65, 27, 9, 3, 81, 3, 9, 27, 1, 113, 69, 3, 81, 27, 109, 3, 81, 3, 9, 57, 81, 75, 105, 3, 1, 81, 9, 3, 57, 73
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,3
|
|
|
LINKS
| Vincenzo Librandi, Table of n, a(n) for n = 1..2000
|
|
|
EXAMPLE
| Residues are often also powers of 3, that is 3^n=k.2^n+3^j, like for n=1,...,26 etc. At first for n=27,28 give 3^n-s other kind of residues if divided by 2^n: a(27)=33,a(28)=43.
n=6,a(6)=9: modulus=2n=12; 3^n=3^6=729=60.12+9=720+a(6);
|
|
|
MATHEMATICA
| Table[Mod[3^w, 2*w], {w, 1, 100}]
|
|
|
PROG
| (MAGMA) [3^n mod(2*n): n in [1..80]]; // Vincenzo Librandi, Jul 31 2011
|
|
|
CROSSREFS
| Cf. A000079, A000244, A002379.
Cf. A083528, A083529, A083530.
Sequence in context: A119265 A143453 A164308 * A088442 A037095 A160654
Adjacent sequences: A082508 A082509 A082510 * A082512 A082513 A082514
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Labos E. (labos(AT)ana.sote.hu), Apr 28 2003
|
| |
|
|