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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A085107 Starting with n-1 go on adding the numbers less than n and coprime to it in descending order until one gets a prime. a(n) = this prime, or 0 if no such number exists. 0
0, 0, 2, 3, 7, 5, 11, 7, 0, 19, 19, 11, 23, 13, 53, 0, 31, 17, 0, 19, 0, 101, 43, 23, 47, 131, 0, 139, 0, 29, 59, 31, 233, 223, 67, 179, 71, 37, 373, 109, 79, 41, 83, 43, 269, 457, 0, 47, 431, 139, 641, 313, 103, 53, 107, 251, 613, 643, 0, 59, 0, 61, 587, 0, 127, 521, 131, 67 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

a(p+1) = p, p is a prime.

If n is prime and 2n-3 is not prime, then a(n) = 0. - David Wasserman, Jan 27 2005

LINKS

Table of n, a(n) for n=1..68.

EXAMPLE

a(10) = 9 + 7 + 3 = 19.

CROSSREFS

Sequence in context: A045790 A085102 A087572 * A241082 A219789 A034694

Adjacent sequences:  A085104 A085105 A085106 * A085108 A085109 A085110

KEYWORD

nonn

AUTHOR

Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jul 04 2003

EXTENSIONS

More terms from David Wasserman, Jan 27 2005

STATUS

approved

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

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

Last modified November 27 13:19 EST 2014. Contains 250196 sequences.