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!)
A074495 a(n) = the first prime > sigma(n). 2
2, 5, 5, 11, 7, 13, 11, 17, 17, 19, 13, 29, 17, 29, 29, 37, 19, 41, 23, 43, 37, 37, 29, 61, 37, 43, 41, 59, 31, 73, 37, 67, 53, 59, 53, 97, 41, 61, 59, 97, 43, 97, 47, 89, 79, 73, 53, 127, 59, 97, 73, 101, 59, 127, 73, 127, 83, 97, 61, 173, 67, 97, 107, 131, 89, 149, 71, 127, 97, 149, 73, 197, 79, 127, 127, 149, 97, 173, 83 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
From Antti Karttunen, Nov 17 2017: (Start)
a(n) = A151800(A000203(n)).
a(n) >= A067792(n).
(End)
EXAMPLE
The least prime > sigma(6) = 12 is 13, so a(6) = 13.
The least prime > sigma(7) = 8 is 11, so a(7) = 11.
MATHEMATICA
p[n_] := Module[{r, i}, r = 2; i = 1; While[r <= n, i = i + 1; r = Prime[i]]; r]; Table[p[DivisorSigma[1, n]], {n, 1, 40}]
PROG
(PARI) A074495(n) = nextprime(1+sigma(n)); \\ Antti Karttunen, Nov 16 2017
CROSSREFS
Sequence in context: A238655 A132295 A086651 * A081467 A194119 A084721
KEYWORD
easy,nonn
AUTHOR
Joseph L. Pe, Sep 26 2002
EXTENSIONS
More terms from Antti Karttunen, Nov 16 2017
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 March 29 08:47 EDT 2024. Contains 371267 sequences. (Running on oeis4.)