OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MAPLE
A175802 := proc(n) local n1, n2 ; n1 := A018252(n) ; n2 := A018252(n+1) ; (2^(n1-1)) mod n2 ; end proc: # R. J. Mathar, Dec 05 2010
MATHEMATICA
PowerMod[2, #[[1]]-1, #[[2]]]&/@Partition[Select[Range[150], !PrimeQ[#]&], 2, 1] (* Harvey P. Dale, Sep 26 2025 *)
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Juri-Stepan Gerasimov, Dec 04 2010
EXTENSIONS
Corrected by R. J. Mathar, Dec 05 2010
Corrected by Harvey P. Dale, Sep 26 2025
STATUS
approved
