[go: up one dir, main page]

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!)
A353020 Every term is the absolute difference of a prime and a nonprime that is also the sum of their indices. 0
4, 7, 9, 14, 15, 16, 17, 25, 26, 27, 28, 29, 35, 43, 44, 45, 46, 47, 55, 56, 57, 58, 64, 71, 73, 74, 75, 76, 77, 78, 79, 83, 85, 86, 87, 96, 99, 107, 109, 110, 111, 112, 113, 117, 123, 125, 133, 139, 140, 141, 142, 143, 148, 151, 152, 153, 154, 155, 156, 157, 158 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
More than one pair of a prime and a nonprime may correspond to some of the terms.
Sequence A352707 is read by ascending antidiagonals from array T(n,k). Present sequence is those differences T(n,k) which are on their own antidiagonal number n + k.
.
Array T(n,k) = abs(prime(n)-nonprime(k))
n\k| 1 4 6 8 9 ...
-----------------------
2 | 1 2 4 6 7 ...
3 | 2 1 3 5 6 ...
5 | 4 1 1 3 4 ...
7 | 6 3 1 1 2 ...
11 | 10 7 5 3 2 ...
13 | 12 9 7 5 4 ...
17 | 16 13 11 9 8 ...
19 | 18 15 13 11 10 ...
23 | 22 19 17 15 14 ...
. | . . . . .
LINKS
FORMULA
Sums x + y for which x + y = abs(prime(x) - nonprime(y)), for some x and y.
EXAMPLE
7 is a term because the 5th prime 11 minus the 2nd nonprime 4 equals 7 and that is also 5 + 2.
9 is a term because the 2nd prime 3 minus the 7th nonprime 12 equals -9 whose absolute value 9 is also 2 + 7.
4 is a term because the 3rd prime 5 minus the 1st nonprime 1 equals 4 that is also 3 + 1. The absolute value of the 1st prime 2 minus the 3rd nonprime 6 also equals 4 that is 1 + 3, so this pair, too, makes 4 a term of this sequence.
CROSSREFS
Cf. A000040, A018252, A352707 (table T).
Sequence in context: A082869 A320691 A139444 * A166569 A024608 A287111
KEYWORD
nonn
AUTHOR
Tamas Sandor Nagy, Apr 17 2022
EXTENSIONS
More terms from Hugo Pfoertner, Apr 17 2022
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 29 18:55 EDT 2024. Contains 375518 sequences. (Running on oeis4.)