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!)
A229254 Numbers n such that n and n+2 have the same number (A000005) and sum of divisors (A000203). 4
33, 54, 918, 1240, 3304, 4148, 4187, 7169, 12565, 15085, 19688, 24881, 25019, 26609, 38982, 51835, 53963, 59987, 76360, 77057, 96728, 143369, 150419, 167560, 170561, 205727, 215069, 220817, 278920, 418307, 564857, 731320, 785270, 907254, 910315, 986153 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also numbers n such that A229335(n) = A229335(n+2).
Intersection of A007373 and A062832.
LINKS
EXAMPLE
Divisors of 54 = {1, 2, 3, 6, 9, 18, 27, 54}, divisors of 56 = {1, 2, 4, 7, 8, 14, 28, 56}, both have 8 divisors and sum = 120.
MATHEMATICA
Select[Range[10000], DivisorSigma[0, #] == DivisorSigma[0, # + 2] && DivisorSigma[1, #] == DivisorSigma[1, # + 2] &]
PROG
(PARI) isok(n) = (numdiv(n) == numdiv(n+2)) && (sigma(n) == sigma(n+2)); \\ Michel Marcus, Sep 20 2013
CROSSREFS
Sequence in context: A261107 A211141 A007373 * A242957 A024628 A061864
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Sep 20 2013
EXTENSIONS
More terms from Michel Marcus, Sep 20 2013
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 April 25 12:53 EDT 2024. Contains 371969 sequences. (Running on oeis4.)