login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A304994 a(n) is the smallest number k such that sigma(k + n) = sigma(k) - n, or -1 if no such number exists. 1
1, 4, 6976, 8, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Further terms of the sequence: a(5) > 10^9 (if it exists), a(6) = 35, a(7) = 16, a(8) = 39, a(10) = 51, a(12) = 95, a(14) = 831, a(15) = 32, a(16) = 45, a(18) = 88, a(19) = 36, a(20) = 63, a(21) = 50, a(22) = 222, a(24) = 135, a(26) = 37888, a(28) = 96, a(30) = 284, a(32) = 117, a(34) = 354, a(36) = 175, a(37) = 1089, a(38) = 84, a(40) = 153, a(42) = 176, a(44) = 3893, a(46) = 267, a(48) = 210. - Daniel Suteu, May 25 2018

a(5) > 3*10^12, if it exists. - Giovanni Resta, May 26 2018

LINKS

Table of n, a(n) for n=0..4.

EXAMPLE

sigma(4+1) - sigma(4) = -1, so a(1) = 4, since this does not happen for x < 4.

sigma(8+3) - sigma(8) = -3, so a(3) = 8, since this does not happen for x < 8.

PROG

(PARI) a(n) = {my(k=1); while(sigma(k+n) != sigma(k) - n, k++); k; }

CROSSREFS

Cf. A000203, A015886.

Sequence in context: A137045 A077258 A272165 * A058440 A058464 A053951

Adjacent sequences:  A304991 A304992 A304993 * A304995 A304996 A304997

KEYWORD

nonn,more

AUTHOR

Michel Marcus, May 23 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 7 04:39 EDT 2020. Contains 336274 sequences. (Running on oeis4.)