[go: up one dir, main page]

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!)
A092510 Difference between smallest semiperimeter (see A063655) and its integer log (see A001414). 2
2, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 3, 0, 1, 1, 1, 2, 0, 0, 0, 2, 1, 0, 0, 2, 1, 1, 1, 0, 3, 0, 1, 3, 0, 3, 0, 0, 1, 4, 0, 2, 0, 0, 1, 4, 1, 0, 3, 4, 0, 1, 1, 0, 0, 3, 1, 5, 1, 0, 7, 0, 0, 1, 1, 5, 6, 0, 1, 5, 0, 0, 0, 2, 1, 6, 0, 0, 0, 0, 0, 7, 1, 5, 3, 6, 1, 1, 1, 2, 7, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A063655(n) - A001414(n).
EXAMPLE
If p is prime a(p)=1 because A063655(p) = p+1 and A001414(p) = p.
PROG
(PARI)
A001414(n) = { my(f=factor(n)); sum(k=1, matsize(f)[1], f[k, 1]*f[k, 2]); }; \\ From A001414.
A063655(n) = { my(c=1); fordiv(n, d, if((d*d)>=n, if((d*d)==n, return(2*d), return(c+d))); c=d); (0); };
A092510(n) = (A063655(n)-A001414(n)); \\ Antti Karttunen, Oct 20 2017
CROSSREFS
Cf. A063655 and A001414.
Sequence in context: A016319 A342531 A287156 * A117208 A276004 A133300
KEYWORD
nonn
AUTHOR
Carlos Alves, Dec 31 2004
EXTENSIONS
Offset corrected and missing term a(1) = 2 prepended by Antti Karttunen, Oct 20 2017
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 August 29 01:19 EDT 2024. Contains 375509 sequences. (Running on oeis4.)