login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A075765 Floor(p(n)/n) + (p(n) mod n), where p(n) = n-th prime. 0
2, 2, 3, 4, 3, 3, 5, 5, 7, 11, 11, 4, 5, 4, 5, 8, 11, 10, 13, 14, 13, 16, 17, 20, 25, 26, 25, 26, 25, 26, 7, 7, 9, 7, 13, 11, 13, 15, 15, 17, 19, 17, 23, 21, 21, 19, 27, 35, 35, 33, 33, 35, 33, 39, 41, 43, 45, 43, 45, 45, 43, 49, 59, 59, 57, 57, 67, 69, 7, 73, 73, 75, 7, 8, 9, 8, 9, 12 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

The digital sum base n of the n-th prime. - Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Dec 24 2007

FORMULA

p(n)/n=k+r; r<n; a(n)=k+r; p prime, n, k, r integers

a(n)=ds_n(prime(n)), where ds_n = digital sum base n. - Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Oct 09 2007

a(n)=prime(n)-(n-1)*sum{k>0, floor(prime(n)/n^k}=prime(n)-(n-1)*floor(prime(n)/n). - Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Oct 09 2007

EXAMPLE

p(9)/9=23/9=2+5/9; a(9)=2+5=7

MATHEMATICA

fmQ[n_]:=Module[{pn=Prime[n]}, Floor[pn/n]+Mod[pn, n]]

fmQ/@Range[90]  (* From Harvey P. Dale, Feb 25 2011 *)

CROSSREFS

Cf. A007953.

Sequence in context: A126688 A054703 A048206 * A181024 A014656 A003078

Adjacent sequences:  A075762 A075763 A075764 * A075766 A075767 A075768

KEYWORD

nonn

AUTHOR

Werner Sand (werner.sand(AT)tiscalimail.de), Oct 09 2002

EXTENSIONS

Corrected by Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Oct 09 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 12:25 EST 2012. Contains 205786 sequences.