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!)
A073832 k between A001359(n) and A001359(n+1) such that A073830(k) is maximal. 3
4, 7, 13, 23, 37, 53, 67, 97, 103, 131, 139, 173, 181, 193, 223, 233, 263, 277, 307, 337, 409, 421, 457, 509, 563, 593, 613, 631, 653, 797, 811, 823, 853, 877, 1013, 1021, 1039, 1051, 1087, 1129, 1223, 1259, 1283, 1297, 1307, 1423, 1447, 1471, 1483, 1601 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A073830(a(n)) = A073831(n).
LINKS
MAPLE
A073832 := proc(n)
local k, kmx, a ;
kmx := 0 ;
a := A001359(n)+1 ;
for k from A001359(n)+1 to A001359(n+1)-1 do
if A073830(k) > kmx then
a := k ;
kmx := A073830(k) ;
end if;
end do:
a ;
end proc:
seq(A073832(n), n=1..50) ; # R. J. Mathar, Feb 21 2017
MATHEMATICA
f[n_] := Mod[4*((n - 1)! + 1) + n, n*(n + 2)];
pp = Select[Prime[Range[300]], PrimeQ[# + 2] & ];
a[n_] := MaximalBy[Range[pp[[n]], pp[[n + 1]]], f];
Array[a, Length[pp] - 1] // Flatten (* Jean-François Alcover, Feb 22 2018 *)
CROSSREFS
Sequence in context: A298354 A139217 A038391 * A265160 A090854 A039694
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 12 2002
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 11 22:48 EDT 2024. Contains 373317 sequences. (Running on oeis4.)