|
Search: id:A114898
|
|
|
| A114898 |
|
a(1)=0. a(n) = number of earlier terms a(k) (1 <=k <=n-1) where a(k)+n is a prime. |
|
+0 2
|
|
| 0, 1, 1, 2, 2, 2, 1, 0, 3, 4, 5, 4, 4, 2, 7, 5, 6, 5, 5, 1, 4, 5, 3, 6, 6, 7, 8, 6, 7, 7, 6, 5, 5, 6, 11, 16, 13, 9, 9, 11, 12, 13, 7, 4, 6, 11, 10, 12, 8, 7, 8, 12, 12, 15, 17, 14, 12, 11, 15, 16, 15, 14, 11, 13, 16, 21, 22, 18, 12, 11, 16, 17, 14, 12, 12, 12, 20, 17, 10, 8, 14, 14, 16, 13, 21
(list; graph; listen)
|
|
|
OFFSET
|
1,4
|
|
|
LINKS
|
T. D. Noe, Table of n, a(n) for n=1..2000
|
|
EXAMPLE
|
If we add 10 to each of the first 9 terms of the sequence, we get [10,11,11,12,12,12,11,10,13]. Of these only the three 11's and the 13 are primes. So a(10) = 4.
|
|
CROSSREFS
|
Cf. A108839, A114899, A123541
Sequence in context: A112215 A076451 A108839 this_sequence A058101 A112159 A132980
Adjacent sequences: A114895 A114896 A114897 this_sequence A114899 A114900 A114901
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Leroy Quet (qq-quet(AT)mindspring.com), Jan 05 2006
|
|
EXTENSIONS
|
Corrected and extended by T. D. Noe (noe(AT)sspectra.com), Apr 30 2007
|
|
|
Search completed in 0.002 seconds
|