Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A102863
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A102863 a(n)=1 if at least one of the first n primes is a divisor of the sum of the first n primes; otherwise a(n)=0. +0
3
1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(2)=0 because none of the first 2 primes (2, 3) is a divisor of 2+3; a(5)=1 because among the first 5 primes (namely, 2,3,5,7,11) there are divisors of 2+3+5+7+11=28.

MAPLE

with(numtheory): a:=proc(n) if nops(factorset(sum(ithprime(k), k=1..n)) intersect {seq(ithprime(j), j=1..n)}) >0 then 1 else 0 fi end: seq(a(n), n=1..130); (Deutsch)

CROSSREFS

A105783(n) gives number of primes among the first n primes that are divisors of the sum of the first n primes.

Sequence in context: A071025 A162549 A115788 this_sequence A131483 A077052 A133566

Adjacent sequences: A102860 A102861 A102862 this_sequence A102864 A102865 A102866

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Mar 01 2005

EXTENSIONS

Edited and extended by Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 19 2005

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 November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research