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!)
A256474 Numbers n for which there are at least as many primes in the range [prime(n)*prime(n+1), prime(n+1)^2] as in the range [prime(n)^2, prime(n)*prime(n+1)]. 5
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 40, 46, 47, 51, 52, 53, 54, 56, 57, 60, 62, 64, 66, 67, 68, 70, 71, 72, 75, 76, 78, 79, 80, 82, 83, 84, 85, 87, 89, 90, 91, 93, 94, 95, 97, 99, 100 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Positions of nonnegative terms in A256470.
LINKS
MATHEMATICA
Select[Range@100, Count[Range[Prime[#] Prime[# + 1], Prime[# + 1]^2], _?PrimeQ] >= Count[Range[Prime[#]^2, Prime[#] Prime[# + 1]], _?PrimeQ] &] (* Michael De Vlieger, Mar 30 2015 *)
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define A256474 (MATCHING-POS 1 1 (lambda (n) (<= 0 (A256470 n)))))
CROSSREFS
Complement: A256475.
Union of A256471 and A256476.
Cf. A256484 (corresponding primes).
Cf. A256470.
Sequence in context: A371968 A335467 A374768 * A085824 A351290 A374249
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 30 2015
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 August 13 11:02 EDT 2024. Contains 375130 sequences. (Running on oeis4.)