A094358 Squarefree products of factors of Fermat numbers (A023394).
1, 3, 5, 15, 17, 51, 85, 255, 257, 641, 771, 1285, 1923, 3205, 3855, 4369, 9615, 10897, 13107, 21845, 32691, 54485, 65535, 65537, 114689, 163455, 164737, 196611, 274177, 319489, 327685, 344067, 494211, 573445, 822531, 823685, 958467, 974849, 983055
Offset: 1
Keywords
Examples
3 is a term because it is in A023394. 51 is a term because it is 3*17 and 17 is also in A023394. 153 = 3*3*17 is not a term because its factorization includes two 3's. See the Munafo link for examples of the (conjectured) 2^^n == 1 (mod n) property.
Links
- Robert G. Wilson v, T. D. Noe and Ray Chandler, Table of n, a(n) for n = 1..3393 (Original 55 terms from Robert G. Wilson, extended to 1314 terms from T. D. Noe)
- Sourangshu Ghosh and Pranjal Jain, On Fermat Numbers and Munafo's Conjecture, (2021).
- R. Mestrovic, Euclid's theorem on the infinitude of primes: a historical survey of its proofs (300 BC--2012) and another new proof, arXiv preprint arXiv:1202.3670 [math.HO], 2012-2018. - From _N. J. A. Sloane_, Jun 13 2012
- Robert Munafo, Sequence A094358, 2^^A(N) = 1 mod N
Programs
-
Mathematica
kmax = 10^6; A023394 = Select[Prime[Range[kmax]], IntegerQ[Log[2, MultiplicativeOrder[2, #] ] ]&]; Reap[For[k = 1, k <= kmax, k++, ff = FactorInteger[k]; If[k == 1 || AllTrue[ff, MemberQ[A023394, #[[1]]] && #[[2]] == 1 &], Print[k]; Sow[k]]]][[2, 1]] (* Jean-François Alcover, Nov 03 2018 *)
-
PARI
( isOK1(n) = n%2==1 && hammingweight(znorder(Mod(2,n)))==1 ) ; ( isOK2(n) = issquarefree(n) && isOK1(n) ) \\ isOK1 and isOK2 differ only if n contains a squared prime that divides a Fermat number (none are known) \\ Jeppe Stig Nielsen, Apr 02 2014
Extensions
Edited by T. D. Noe, Feb 02 2009
Example brought in line with name/description by Robert Munafo, May 18 2011
Comments