login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139367 a(n) = A102700(n) - A102342(n). 1
1, 1, 2, 3, 2, 1, 3, 2, 4, 4, 6, 4, 4, 9, 8, 7, 7, 7, 7, 7, 5, 2, 3, 2, 2, 4, 4, 7, 10, 10, 9, 9, 8, 7, 5, 6, 9, 7, 13, 13, 13, 11, 12, 14, 15, 23, 16, 16, 16, 10, 10, 16, 13, 13, 13, 13, 12, 7, 10, 7, 1, 1, 1, 4, 6, 5, 9, 9, 13, 11, 16, 13, 13, 15, 13, 8, 9, 8, 10, 9, 10, 6, 7, 7, 10, 10, 11, 18 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

A139367(332) = -1.

LINKS

Index entries for prime races

MAPLE

Contribution from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 25 2010: (Start)

A102700 := proc(n) option remember; if n = 1 then 1; else for a from procname(n-1)+1 do if isprime(10*a+9) then return a; end if; end do: end if; end proc:

A102342 := proc(n) option remember; if n = 1 then 0; else for a from procname(n-1)+1 do if isprime(10*a+7) then return a; end if; end do: end if; end proc:

A139367 := proc(n) A102700(n)-A102342(n) ; end proc: seq(A139367(n), n=1..120) ; (End)

CROSSREFS

Sequence in context: A204933 A118105 A125211 * A117648 A037222 A102288

Adjacent sequences:  A139364 A139365 A139366 * A139368 A139369 A139370

KEYWORD

sign

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jun 09 2008

EXTENSIONS

Corrected (a 6 replaced by 7, a 7 by 9, a 13 by 16) and extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 25 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 07:39 EST 2012. Contains 205881 sequences.