login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A166173 Digit sum of n-th twin prime pair. 1
8, 12, 6, 18, 15, 12, 21, 18, 6, 18, 24, 21, 27, 24, 36, 24, 21, 27, 24, 12, 30, 21, 18, 24, 18, 33, 30, 30, 24, 33, 27, 24, 36, 42, 36, 15, 12, 21, 18, 24, 18, 21, 36, 33, 12, 21, 30, 24, 30, 42, 30, 27, 42, 48, 24, 48, 36, 48, 30, 39, 54, 24, 24, 36, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Except for the first term, all the others are multiples of 3.
LINKS
FORMULA
EXAMPLE
The tenth twin prime pair is 107, 109, so a(10) = 1+0+7+1+0+9 = 18.
MATHEMATICA
Total[Flatten[IntegerDigits[#]]]&/@Select[Partition[Prime[Range[400]], 2, 1], #[[2]]- #[[1]]==2&] (* Harvey P. Dale, Dec 03 2016 *)
CROSSREFS
Sequence in context: A072900 A203836 A220665 * A014453 A160862 A152077
KEYWORD
base,nonn,easy
AUTHOR
Parthasarathy Nambi, Oct 09 2009
EXTENSIONS
Corrected by Harvey P. Dale, Dec 03 2016
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)