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

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

1,2

COMMENTS

A139368(219) = -4.

LINKS

Index entries for prime races

MAPLE

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

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:

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

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

CROSSREFS

Sequence in context: A075119 A137278 A205810 * A134303 A078997 A024680

Adjacent sequences:  A139365 A139366 A139367 * A139369 A139370 A139371

KEYWORD

sign

AUTHOR

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

EXTENSIONS

More terms from 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 14:37 EST 2012. Contains 205930 sequences.