Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A104260
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A104260 Sum of odd digits (1,3,5,7,9) of n-th prime. +0
2
0, 3, 5, 7, 2, 4, 8, 10, 3, 9, 4, 10, 1, 3, 7, 8, 14, 1, 7, 8, 10, 16, 3, 9, 16, 2, 4, 8, 10, 5, 8, 5, 11, 13, 10, 7, 13, 4, 8, 11, 17, 2, 11, 13, 17, 19, 2, 3, 7, 9, 6, 12, 1, 6, 12, 3, 9, 8, 14, 1, 3, 12, 10, 5, 7, 11, 7, 13, 10, 12, 11, 17, 10, 13, 19, 6, 12, 19, 1, 9, 10, 1, 4, 6, 12, 3, 9, 12 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n)=A007605(n)-A104261(n)

MATHEMATICA

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

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

CROSSREFS

Sum of even digits (2,4,6,8) of n-th prime: A104261, 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: A128059 A084763 A131214 this_sequence A121573 A130140 A051417

Adjacent sequences: A104257 A104258 A104259 this_sequence A104261 A104262 A104263

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 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research