The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A342644 Primes in A340180. 1
2, 2, 7, 23, 19, 43, 137, 139, 239, 283, 373, 491, 1019, 929, 2609, 2699, 1499, 4451, 3191, 4441, 5261, 3251, 6373, 7853, 8623, 9013, 6359, 10289, 9109, 6833, 7703, 13417, 19441, 15329, 19793, 9311, 16319, 13109, 12539, 23899, 26347, 10111, 11351, 19687, 27851, 13627, 34129, 18521, 27277, 35537 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Terms are listed in the order in which they appear in A340180, including repetitions.
Repeated terms include a(1) = a(2) = 2, a(55) = a(56) = 17333, and a(233) = a(319) = 1253761. Are there any others?
LINKS
FORMULA
a(n) = A340180(A342630(n)).
EXAMPLE
a(4) = A340180(A342630(4)) = A340180(14) = 23.
MAPLE
f:= proc(n) local s, k;
s:= numtheory:-sigma(n);
add(`if`(igcd(n, k)=1, s mod k, 0), k=1..n-1);
end proc:
select(isprime, map(f, [$1..1000]));
MATHEMATICA
Select[Array[Sum[Mod[DivisorSigma[1, #], k] Floor[1/GCD[k, #]], {k, # - 1}] &, 500], PrimeQ] (* Michael De Vlieger, Mar 17 2021 *)
CROSSREFS
Sequence in context: A156520 A307426 A343577 * A069101 A221648 A138802
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Mar 17 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 12 14:48 EDT 2024. Contains 373331 sequences. (Running on oeis4.)