|
Search: id:A070034
|
|
|
| A070034 |
|
Numbers n such that n! reduced modulo 2^n is also a power of 2. |
|
+0 3
|
|
| 1, 2, 4, 6, 8, 16, 19, 20, 21, 27, 32, 35, 36, 39, 40, 42, 44, 52, 64, 67, 68, 72, 73, 79, 80, 88, 92, 101, 104, 109, 116, 128, 131, 132, 136, 137, 141, 144, 145, 146, 150, 159, 160, 176, 177, 185, 188, 202, 204, 208, 209, 233, 244, 256, 259, 260, 264, 265, 269, 272
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
FORMULA
|
Mod[a(n)!, 2^a(n)]=A068496(n)=2^w for some integer w.
|
|
EXAMPLE
|
Not rarely,consecutive inegers are in the sequence like {19,20,21}, providing residues {65536,262144,262144}.
|
|
MATHEMATICA
|
Do[s=Mod[n!, 2^n]; If[IntegerQ[Log[2, s]], Print[n]], {n, 1, 1000}]
|
|
CROSSREFS
|
Cf. A000142, A000079, A068496.
Sequence in context: A133808 A160560 A093109 this_sequence A064408 A100685 A068799
Adjacent sequences: A070031 A070032 A070033 this_sequence A070035 A070036 A070037
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Labos E. (labos(AT)ana.sote.hu), Apr 17 2002
|
|
|
Search completed in 0.002 seconds
|