Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A104261
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A104261 Sum of even digits (0,2,4,6,8) of n-th prime. +0
2
2, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 4, 4, 4, 0, 0, 6, 6, 0, 0, 0, 8, 8, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 4, 0, 0, 6, 6, 0, 0, 8, 0, 0, 0, 0, 2, 4, 4, 4, 2, 2, 6, 2, 2, 8, 8, 2, 2, 10, 10, 2, 0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 6, 0, 0, 8, 8, 0, 4, 4, 4, 6, 4, 4, 4, 8, 8, 4, 10, 10, 10, 4, 12, 4, 4, 0, 0, 2, 2, 4, 4, 0 (list; graph; listen)
OFFSET

1,1

FORMULA

A104261(n)=A007605(n)-A104260(n)

MATHEMATICA

sodev={}; Do[id=IntegerDigits[Prime[i]]; lid=Length[id]; sod=Sum[If[EvenQ[id[[k]]], id[[k]], 0], {k, lid}]; sodev={sodev, sod}, {i, 200}]; sodev//Flatten

f[n_] := Plus @@ Select[ IntegerDigits[ Prime[n]], EvenQ[ # ] && # > 1 &]; Table[ f[n], {n, 102}] (from Robert G. Wilson v (rgwv(at)rgwv.com), Nov 03 2005)

CROSSREFS

Sum of odd digits (1,3,5,7,9) of n-th prime: A104260, sum of prime digits (2,3,5,7) of n-th prime: A104250, sum of composite (nonprime) digits (1,4,6,8,9) of n-th prime: A104251, sum of digits of primes: A007605, primes: A000040.

Sequence in context: A091398 A062103 A112314 this_sequence A028702 A083929 A122698

Adjacent sequences: A104258 A104259 A104260 this_sequence A104262 A104263 A104264

KEYWORD

nonn,base

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Feb 26 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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research