login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A247132
Numbers k such that 2k - 1 divides 2^k + 1.
1
1, 194997, 1463649, 1957025, 4657005, 6464145, 17214725, 70930629, 76938345, 319359365, 336837501, 429872625, 486213525, 1343289717, 1831683645, 2163016845, 2430979425, 2950546137, 3463374005, 5031564525, 5608791441, 8993704797, 9596401485, 12556945401, 13492461125, 14559291285, 18429009725
OFFSET
1,2
EXAMPLE
1 is in this sequence because (2^1 + 1)/(2*1 - 1) = 3.
MATHEMATICA
Select[Range[200000], IntegerQ[(2^# + 1) / (2 # - 1)] &] (* Vincenzo Librandi, Nov 20 2014 *)
PROG
(Magma) [n: n in [1..2000000] | Denominator((2^n + 1)/(2*n - 1)) eq 1];
(PARI) is(n)=Mod(2, 2*n-1)^n==-1 \\ Charles R Greathouse IV, Nov 20 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(5)-a(27) from Charles R Greathouse IV, Nov 20 2014
STATUS
approved