Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A037175
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A037175 Numbers n such that |s(n)-n| = number of primes <= n, where s(n) is sigma(n)-n. +0
1
2, 3, 15, 22, 98, 460, 5408, 21170, 243568, 3587402 (list; graph; listen)
OFFSET

1,1

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)

PROGRAM

(PARI) np=0; for(n=1, 10000000, if(isprime(n), np=np+1); if(abs(sigma(n)-2*n)==np, print1(n, ", "))) (Ronaldo)

CROSSREFS

Adjacent sequences: A037172 A037173 A037174 this_sequence A037176 A037177 A037178

Sequence in context: A066491 A101507 A047176 this_sequence A048613 A030072 A064219

KEYWORD

nonn

AUTHOR

Naohiro Nomoto (6284968128(AT)geocities.co.jp)

EXTENSIONS

More terms from C. Ronaldo (aga_new_ac(AT)hotmail.com), Dec 30 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified May 16 23:01 EDT 2008. Contains 139884 sequences.


AT&T Labs Research