login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A274424 Numbers n such that there exists a j for which n = Sum_{k=1..j}{n mod k}, where k runs through the first j primes. 3
13, 19, 48, 63, 67, 76, 94, 99, 123, 141, 143, 150, 179, 193, 247, 249, 285, 339, 404, 445, 517, 693, 711, 798, 969, 982, 1054, 1138, 1233, 1245, 1257, 1262, 1364, 1524, 1531, 1569, 1613, 1694, 1701, 1743, 1745, 1928, 2018, 2070, 2114, 2224, 2339, 2461, 2770 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Paolo P. Lava, Table of n, a(n) for n = 1..1500

Paolo P. Lava, First 1500 terms with the number of the first primes

EXAMPLE

48 mod 2 + 48 mod 3 + 48 mod 5 + 48 mod 7 + 48 mod 11 + 48 mod 13 + 48 mod 17 + 48 mod 19 + 48 mod 23 = 0 + 0 + 3 + 6 + 4 + 9 + 14 +10 + 2 = 48.

MAPLE

P:=proc(q) local a, b, k, n; for n from 2 to q do a:=0; b:=2;

while n>a do a:=a+(n mod b); b:=nextprime(b); od;

if n=a then  print(n); fi; od; end: P(10^9);

CROSSREFS

Cf. A000040, A024934, A274422, A274423.

Sequence in context: A156940 A220162 A248483 * A180528 A109504 A122042

Adjacent sequences:  A274421 A274422 A274423 * A274425 A274426 A274427

KEYWORD

nonn,easy

AUTHOR

Paolo P. Lava, Jun 21 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 13:52 EDT 2020. Contains 333089 sequences. (Running on oeis4.)