Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118480
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118480 (n-th 4k+1 prime minus n-th 4k+3 prime less two)/4. +0
1
0, 1, 1, 2, 3, 2, 2, 3, 3, 5, 6, 5, 6, 2, 7, 5, 6, 8, 7, 7, 7, 12, 10, 10, 11, 11, 12, 10, 10, 12, 11, 13, 10, 10, 10, 10, 9, 8, 7, 9, 3, 4, 4, 4, 11, 13, 15, 17, 19, 19, 22, 19, 16, 13, 17, 16, 15, 16, 14, 17, 16, 21, 24, 19, 19, 13, 17, 17, 19, 19, 16, 11, 13, 13, 22, 19, 19, 17, 22 (list; graph; listen)
OFFSET

1,4

COMMENT

Zero occurs infinitely often as do the negative numbers.

First occurrence of a(n) beginning with 0: 1, 2, 4, 5, 42, 10, 11, 15, 18, 37, 23, 25, 22, 32, 59, 47, 53, 48, 83, 49, 110, 62, 51, 82, 63, 170, ...,

The first negative term is at n=1473. - T. D. Noe, Apr 09 2009

LINKS

T. D. Noe, Table of n, a(n) for n=1..2000

FORMULA

(A002144(n) - A002145(n) - 2)/4.

MATHEMATICA

(Select[1 + 4Range@245, PrimeQ@# &] - Select[ -1 + 4Range@225, PrimeQ@# &] - 2)/4 %Y A000001 Cf. A022757, A007350, A007351, A038691.

CROSSREFS

Sequence in context: A079294 A076733 A079643 this_sequence A104377 A109337 A137266

Adjacent sequences: A118477 A118478 A118479 this_sequence A118481 A118482 A118483

KEYWORD

nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu) and Robert G. Wilson v (rgwv(AT)rgwv.com), May 04 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research