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!)
A334900 Numbers k such that k and k+2 are both bi-unitary practical numbers (A334898). 2
6, 30, 40, 54, 510, 544, 798, 918, 928, 1120, 1240, 1288, 1408, 1480, 1566, 1672, 1720, 1768, 1792, 1888, 1950, 1974, 2046, 2430, 2440, 2560, 2728, 2814, 2838, 2968, 3198, 3318, 4134, 4158, 4264, 4422, 4480, 4758, 5248, 6102, 6270, 6424, 6942, 7590, 7830, 9280 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
6 is a term since 6 and 6 + 2 = 8 are both bi-unitary practical numbers.
MATHEMATICA
biunitaryDivisorQ[div_, n_] := If[Mod[#2, #1] == 0, Last@Apply[Intersection, Map[Select[Divisors[#], Function[d, CoprimeQ[d, #/d]]] &, {#1, #2/#1}]] == 1, False] & @@ {div, n}; bdivs[n_] := Module[{d = Divisors[n]}, Select[d, biunitaryDivisorQ[#, n] &]]; bPracQ[n_] := Module[{d = bdivs[n], sd, x}, sd = Plus @@ d; Min @ CoefficientList[Series[Product[1 + x^d[[i]], {i, Length[d]}], {x, 0, sd}], x] > 0]; seq = {}; q1 = bPracQ[2]; Do[q2 = bPracQ[n]; If[q1 && q2, AppendTo[seq, n - 2]]; q1 = q2, {n, 4, 1000, 2}]; seq
CROSSREFS
Sequence in context: A345265 A062268 A067879 * A136375 A138706 A027762
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 16 2020
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 May 1 08:06 EDT 2024. Contains 372149 sequences. (Running on oeis4.)