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!)
A095417 Sum of all decimal digits of distinct prime factors for n-th repunit. 5
0, 2, 13, 4, 15, 26, 37, 25, 41, 36, 45, 47, 62, 67, 57, 67, 60, 92, 19, 76, 116, 99, 23, 105, 63, 120, 124, 134, 133, 110, 140, 155, 141, 130, 132, 168, 137, 103, 184, 176, 182, 226, 188, 217, 168, 145, 186, 220, 245, 170, 221, 228, 232, 267, 216, 225, 179, 259 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Max Alekseyev, Table of n, a(n) for n = 1..352 (first 322 terms from Giovanni Resta)
FORMULA
a(n) = A095402(A002275(n)).
EXAMPLE
n=60: concatenated distinct-prime factor-set for 60th-repunit is:
371113313741611012112412712161354190919901279612906161418890139526741,
its digit sum=a(60)=244.
MATHEMATICA
a[1]=0; a[n_] := Total[ Flatten[ IntegerDigits /@ First /@ FactorInteger[(10^n - 1)/9]]]; Array[a, 60] (* Giovanni Resta, Jul 19 2018 *)
CROSSREFS
Sequence in context: A338785 A335817 A093079 * A369587 A366719 A129733
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Jun 22 2004
EXTENSIONS
Data corrected by Giovanni Resta, Jul 19 2018
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 24 07:01 EDT 2024. Contains 371920 sequences. (Running on oeis4.)