OFFSET
1,2
COMMENTS
Square roots of perfect squares in A055927. [Juri-Stepan Gerasimov, Apr 06 2011]
REFERENCES
M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 840.
T. M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, page 38.
D. S. Mitrinovic et al., Handbook of Number Theory, Kluwer, Chap. II. (For inequalities, etc.)
LINKS
Marius A. Burtea, Table of n, a(n) for n = 1..5587
M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series 55, Tenth Printing, 1972 [alternative scanned copy].
G. E. Andrews, Some debts I owe, Séminaire Lotharingien de Combinatoire, Paper B42a, Issue 42, 2000; see (7.1).
P. A. MacMahon, Divisors of numbers and their continuations in the theory of partitions, Proc. London Math. Soc., 19 (1919), 75-113.
S. Ramanujan, On The Number Of Divisors Of A Number
EXAMPLE
n=1, tau(2) - tau(1) = 2 - 1 = 1.
n=3, tau(10) - tau(9) = 4 - 3 = 1.
n=5, tau(26) - tau(25) = 4 - 3 = 1.
n=387, tau(149770)- tau(149769) = 16 - 15 = 1.
MAPLE
with(numtheory): for n from 1 to 100000 do; if tau(n^2+1)-tau(n^2)= 1 then print(n); else fi ; od;
MATHEMATICA
dsQ[n_]:=Module[{n2=n^2}, DivisorSigma[0, n2+1]-DivisorSigma[0, n2]==1]; Select[Range[1200], dsQ] (* Harvey P. Dale, May 05 2011 *)
Select[Sqrt[#]&/@Flatten[Position[Partition[DivisorSigma[0, Range[1200000]], 2, 1], _?(#[[2]]-#[[1]]==1&), 1, Heads->False]], IntegerQ] (* Harvey P. Dale, Apr 09 2022 *)
PROG
(Magma) [m:m in [1..1100]| #Divisors(m^2+1) - #Divisors(m^2) eq 1]; // Marius A. Burtea, Jul 12 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Feb 02 2010
STATUS
approved