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!)
A035031 For n >= 7, max(A151799(n), 2*A151799(floor((n-1)/2))). 2
1, 2, 2, 3, 3, 5, 5, 7, 7, 7, 7, 11, 11, 13, 13, 13, 14, 17, 17, 19, 19, 19, 19, 23, 23, 23, 23, 23, 26, 29, 29, 31, 31, 31, 31, 31, 34, 37, 37, 37, 38, 41, 41, 43, 43, 43, 43, 47, 47, 47, 47, 47, 47, 53, 53, 53, 53, 53 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
REFERENCES
S. K. Stein and S. Szabo, Algebra and Tiling, MAA Carus Monograph 25, 1994, page 104.
LINKS
MAPLE
f:= proc(n) max(prevprime(n), 2*prevprime(floor((n-1)/2))) end proc:
for i from 1 to 6 do f(i):= [1, 2, 2, 3, 3, 5, 5][i] od:
map(f, [$1..100]); # Robert Israel, Dec 15 2023
MATHEMATICA
Join[{1, 2}, Table[Max[NextPrime[n, -1], 2NextPrime[Floor[(n-1)/2], -1]], {n, 3, 70}]] (* Harvey P. Dale, Mar 12 2022 *)
CROSSREFS
Sequence in context: A341140 A340285 A341462 * A035032 A121260 A121261
KEYWORD
nonn
AUTHOR
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 May 14 00:47 EDT 2024. Contains 372528 sequences. (Running on oeis4.)