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!)
A037175 Numbers k such that |s(k) - k| = number of primes <= k, where s(k) is sigma(k) - k. 0
2, 3, 15, 22, 98, 460, 5408, 21170, 243568, 3587402, 25881424, 25888784, 33305870, 61202192, 115333190, 135135182, 167241932, 788355824, 788360176, 1653570248 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(21) > 10^11. - _Donovan Johnson,_ Aug 15 2011
LINKS
MAPLE
with(numtheory):np:=0: for n from 1 to 300000 do if isprime(n) then np:=np+1 fi: if(abs(sigma(n)-2*n)=np) then printf("%d, ", n) fi od: (C. Ronaldo)
PROG
(PARI) np=0; for(n=1, 10000000, if(isprime(n), np=np+1); if(abs(sigma(n)-2*n)==np, print1(n, ", "))) (Ronaldo)
CROSSREFS
Sequence in context: A047176 A347668 A325236 * A048613 A162890 A030072
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from C. Ronaldo (aga_new_ac(AT)hotmail.com), Dec 30 2004
a(11)-a(20) from Donovan Johnson, Aug 15 2011
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 July 29 17:25 EDT 2024. Contains 374734 sequences. (Running on oeis4.)