login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A172180
The absolute value of n-th prime of the form 3*n-+1 minus n-th nonprime of the form 3*n-+1.
0
1, 1, 1, 1, 1, 1, 1, 1, 4, 5, 9, 9, 9, 12, 15, 19, 17, 21, 22, 23, 27, 28, 33, 39, 39, 39, 42, 41, 43, 53, 55, 60, 59, 67, 66, 71, 75, 76, 81, 85, 86, 93, 93, 93, 93, 101, 111, 112, 113, 115, 120, 120, 129, 133, 138, 141, 141, 144, 147, 147, 153, 165, 168, 168, 171, 183, 185
OFFSET
1,9
FORMULA
a(n)=abs(A045344(n)-A171993(n)).
MAPLE
a(1)=abs(2-1)=1, a(2)=abs(5-4)=1, a(3)=abs(7-8)=1, a(4)=abs(11-10)=1, a(5)=abs(13-14)=1, a(6)=abs(17-16)=1, a(7)=abs(19-20)=1, a(8)=abs(23-22)=1, a(9)=abs(29-25)=4.
CROSSREFS
Sequence in context: A197268 A218505 A128891 * A193959 A093667 A243591
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected (28 inserted, a third 39 inserted etc.) by R. J. Mathar, May 19 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 23 16:16 EDT 2024. Contains 376178 sequences. (Running on oeis4.)