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”).

A069112
Squarefree part of 2^n-1 : the smallest number such that a(n)*(2^n-1) is a square.
1
1, 3, 7, 15, 31, 7, 127, 255, 511, 1023, 2047, 455, 8191, 16383, 32767, 65535, 131071, 29127, 524287, 41943, 42799, 4194303, 8388607, 1864135, 33554431, 67108863, 134217727, 268435455, 536870911, 119304647, 2147483647, 4294967295, 8589934591, 17179869183, 34359738367
OFFSET
1,2
LINKS
FORMULA
a(n) = A007913(A000225(n)). - Michel Marcus, Apr 10 2014
MATHEMATICA
SquareFreePart[n_] := Times @@ Apply[Power, {First[#], Mod[Last[#], 2]}& /@ FactorInteger[n], {1}]; a[n_] := SquareFreePart[2^n-1]; Table[a[n], {n, 1, 32}] (* Jean-François Alcover, Apr 10 2014 *)
PROG
(PARI) for(n=1, 60, print1(core(2^n-1), ", "))
CROSSREFS
Sequence in context: A373089 A291754 A336685 * A064084 A090633 A320024
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 06 2002
EXTENSIONS
More terms from Amiram Eldar, Sep 05 2020
STATUS
approved