Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072004
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072004 Remainder when sum of squares of first n primes is divided by n-th prime. +0
3
0, 1, 3, 3, 10, 0, 3, 1, 15, 19, 10, 28, 12, 1, 32, 25, 0, 42, 42, 45, 4, 23, 77, 50, 30, 45, 86, 43, 64, 100, 23, 105, 89, 41, 87, 54, 133, 2, 59, 47, 147, 64, 174, 102, 65, 104, 7, 127, 107, 28, 210, 194, 106, 60, 159, 95, 119, 116, 104, 230, 224, 110, 183, 212, 287 (list; graph; listen)
OFFSET

1,3

FORMULA

a(n) = s[n] - p[n]*q[n], where s[n] = sum of squares of first n primes, p[n] is n-th prime and q[n] is floor(s[n]/p[n]).

EXAMPLE

a[3] = 3 because s[3] = 2*2 + 3*3 + 5*5 = 38, p[3]=5 and q[3]= floor(38/5)=7, so a[3] = 38-5*7 = 3.

CROSSREFS

Sequence in context: A122961 A165421 A100731 this_sequence A095271 A054511 A134704

Adjacent sequences: A072001 A072002 A072003 this_sequence A072005 A072006 A072007

KEYWORD

easy,nonn

AUTHOR

Randy L. Ekl (Randy.Ekl(AT)Motorola.com), Jun 18 2002

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research