OFFSET
1,1
COMMENTS
All even numbers are present (odd square - 1 == 0 mod 4). All multiples of 5 are present, since we can factorize 3^5k - 1 as (3^5-1)*[3^5(k-1) + ... + 1], and 3^5-1=121. Similarly all multiples of 39 are present since 3^39-1 = 405255515301=3^2*7*13^2*41^2*22643. - Jon Perry, Nov 09 2014
All multiples of positive members of A283620. - Robert Israel, Mar 16 2017
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..407 (terms 1..121 from Michel Marcus)
MAPLE
select(t -> igcd(t, 10) > 1 or not numtheory:-issqrfree(3^t-1), [$1..150]); # Robert Israel, Mar 16 2017
MATHEMATICA
Select[Range[120], ! SquareFreeQ[3^# - 1] &] (* Vincenzo Librandi, Oct 25 2014 *)
PROG
(PARI) for(k=1, 1e3, if(!issquarefree(3^k-1), print1(k, ", ")))
(Magma) [n: n in [1..110]| not IsSquarefree(3^n-1)]; // Vincenzo Librandi, Oct 25 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Fröhlich, Oct 19 2014
STATUS
approved